Home
last modified time | relevance | path

Searched refs:assertIsReg (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_0.c51 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 Dtest_option_L_upper.c54 assertIsReg("copy-L/symlink", -1); in DEFINE_TEST()
85 assertIsReg("unpack-L/symlink", -1); in DEFINE_TEST()
H A Dtest_basic.c18 assertIsReg("file", 0644); in verify_files()
34 assertIsReg("file2", 0777); in verify_files()
H A Dtest_passthrough_reverse.c63 assertIsReg("dir/file", 0644); in DEFINE_TEST()
H A Dtest_passthrough_dotdot.c54 assertIsReg("file", 0642); in DEFINE_TEST()
H A Dtest_gcpio_compat.c40 assertIsReg("file", 0644); in unpack_test()
/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_L_upper.c54 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 Dtest_symlink_dir.c80 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 Dtest_option_H_upper.c70 assertIsReg("link2", umasked(0644)); in DEFINE_TEST()
85 assertIsReg("link2", umasked(0644)); in DEFINE_TEST()
H A Dtest_basic.c43 assertIsReg("file", -1); in verify_files()
53 assertIsReg("linkfile", -1); in verify_files()
H A Dtest_option_U_upper.c119 assertIsReg("d1/file1", umasked(0644)); in DEFINE_TEST()
134 assertIsReg("d1/file1", umasked(0644)); in DEFINE_TEST()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_hardlink.c223 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 Dtest_read_extract.c145 assertIsReg("file", 0755); in DEFINE_TEST()
153 assertIsReg("dir/file", 0700); in DEFINE_TEST()
155 assertIsReg("dir2/file", 0000); in DEFINE_TEST()
H A Dtest_write_disk_symlink.c239 assertIsReg("link1a", -1); in DEFINE_TEST()
245 assertIsReg("link2a", -1); in DEFINE_TEST()
H A Dtest_write_disk.c97 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 Dtest_common.h237 #define assertIsReg(pathname, mode) \ macro