/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_0.c | 51 assertIsReg("file1", 0644); in DEFINE_TEST() 52 assertIsReg("file2", 0644); in DEFINE_TEST() 53 assertIsReg("file3", 0644); in DEFINE_TEST() 54 assertIsReg("file4", 0644); in DEFINE_TEST() 69 assertIsReg("file1", 0644); in DEFINE_TEST() 70 assertIsReg("file2", 0644); in DEFINE_TEST() 71 assertIsReg("file3", 0644); in DEFINE_TEST() 72 assertIsReg("file4", 0644); in DEFINE_TEST()
|
H A D | test_option_L_upper.c | 54 assertIsReg("copy-L/symlink", -1); in DEFINE_TEST() 85 assertIsReg("unpack-L/symlink", -1); in DEFINE_TEST()
|
H A D | test_basic.c | 18 assertIsReg("file", 0644); in verify_files() 34 assertIsReg("file2", 0777); in verify_files()
|
H A D | test_passthrough_reverse.c | 63 assertIsReg("dir/file", 0644); in DEFINE_TEST()
|
H A D | test_passthrough_dotdot.c | 54 assertIsReg("file", 0642); in DEFINE_TEST()
|
H A D | test_gcpio_compat.c | 40 assertIsReg("file", 0644); in unpack_test()
|
/freebsd/contrib/libarchive/tar/test/ |
H A D | test_option_L_upper.c | 54 assertIsReg("d1/link1", umasked(0644)); in DEFINE_TEST() 56 assertIsReg("link2", umasked(0644)); in DEFINE_TEST() 68 assertIsReg("d1/link1", umasked(0644)); in DEFINE_TEST() 70 assertIsReg("link2", umasked(0644)); in DEFINE_TEST() 83 assertIsReg("d1/link1", umasked(0644)); in DEFINE_TEST() 85 assertIsReg("link2", umasked(0644)); in DEFINE_TEST()
|
H A D | test_symlink_dir.c | 80 assertIsReg("dest1/file", -1); in DEFINE_TEST() 83 assertIsReg("dest1/file2", -1); in DEFINE_TEST() 123 assertIsReg("dest2/dir/f", -1); in DEFINE_TEST() 134 assertIsReg("dest2/file", -1); in DEFINE_TEST() 137 assertIsReg("dest2/file2", -1); in DEFINE_TEST()
|
H A D | test_option_H_upper.c | 70 assertIsReg("link2", umasked(0644)); in DEFINE_TEST() 85 assertIsReg("link2", umasked(0644)); in DEFINE_TEST()
|
H A D | test_basic.c | 43 assertIsReg("file", -1); in verify_files() 53 assertIsReg("linkfile", -1); in verify_files()
|
H A D | test_option_U_upper.c | 119 assertIsReg("d1/file1", umasked(0644)); in DEFINE_TEST() 134 assertIsReg("d1/file1", umasked(0644)); in DEFINE_TEST()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_hardlink.c | 223 assertIsReg("link1a", 0755 & ~UMASK); in DEFINE_TEST() 235 assertIsReg("link2a", 0755 & ~UMASK); in DEFINE_TEST() 241 assertIsReg("link3a", 0755 & ~UMASK); in DEFINE_TEST() 247 assertIsReg("link4a", 0755 & ~UMASK); in DEFINE_TEST()
|
H A D | test_read_extract.c | 145 assertIsReg("file", 0755); in DEFINE_TEST() 153 assertIsReg("dir/file", 0700); in DEFINE_TEST() 155 assertIsReg("dir2/file", 0000); in DEFINE_TEST()
|
H A D | test_write_disk_symlink.c | 239 assertIsReg("link1a", -1); in DEFINE_TEST() 245 assertIsReg("link2a", -1); in DEFINE_TEST()
|
H A D | test_write_disk.c | 97 assertIsReg(archive_entry_pathname(ae), archive_entry_mode(ae) & 0777); in create_reg_file() 133 assertIsReg(archive_entry_pathname(ae), archive_entry_mode(ae) & 0777); in create_reg_file2()
|
/freebsd/contrib/libarchive/test_utils/ |
H A D | test_common.h | 237 #define assertIsReg(pathname, mode) \ macro
|