• Home
  • Raw
  • Download

Lines Matching refs:panic

40             .unwrap_or_else(|e| panic!("mount failed: {}", e));  in test_mount_tmpfs_without_flags_allows_rwx()
64 panic!("open failed: {}", e); in test_mount_tmpfs_without_flags_allows_rwx()
68 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
74 .unwrap_or_else(|e| panic!("read failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
81 .unwrap_or_else(|e| panic!("exec failed: {}", e)) in test_mount_tmpfs_without_flags_allows_rwx()
83 .unwrap_or_else(|| panic!("child killed by signal"))); in test_mount_tmpfs_without_flags_allows_rwx()
85 umount(tempdir.path()).unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
96 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_rdonly_disallows_write()
102 umount(tempdir.path()).unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_rdonly_disallows_write()
113 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_noexec_disallows_exec()
123 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_noexec_disallows_exec()
129 panic!("metadata failed: {}", e) in test_mount_noexec_disallows_exec()
140 umount(tempdir.path()).unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_noexec_disallows_exec()
155 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_bind()
163 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_bind()
165 umount(mount_point.path()).unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_bind()
174 .unwrap_or_else(|e| panic!("read failed: {}", e)); in test_mount_bind()
199 .unwrap_or_else(|e| panic!("could not write uid map: {}", e)); in setup_namespaces()