Lines Matching refs:panic
41 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
70 panic!("open failed: {}", e); in test_mount_tmpfs_without_flags_allows_rwx()
74 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
80 .unwrap_or_else(|e| panic!("read failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
88 .unwrap_or_else(|e| panic!("exec failed: {}", e)) in test_mount_tmpfs_without_flags_allows_rwx()
90 .unwrap_or_else(|| panic!("child killed by signal")) in test_mount_tmpfs_without_flags_allows_rwx()
94 .unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_tmpfs_without_flags_allows_rwx()
107 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_rdonly_disallows_write()
119 .unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_rdonly_disallows_write()
132 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_noexec_disallows_exec()
142 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_noexec_disallows_exec()
148 .unwrap_or_else(|e| panic!("metadata failed: {}", e)), in test_mount_noexec_disallows_exec()
168 .unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_noexec_disallows_exec()
185 .unwrap_or_else(|e| panic!("mount failed: {}", e)); in test_mount_bind()
193 .unwrap_or_else(|e| panic!("write failed: {}", e)); in test_mount_bind()
196 .unwrap_or_else(|e| panic!("umount failed: {}", e)); in test_mount_bind()
205 .unwrap_or_else(|e| panic!("read failed: {}", e)); in test_mount_bind()
230 .unwrap_or_else(|e| panic!("could not write uid map: {}", e)); in setup_namespaces()