Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_H_upper.c39 assertIsSymlink("ld1", "d1", 1); in DEFINE_TEST()
40 assertIsSymlink("d1/link1", "file1", 0); in DEFINE_TEST()
41 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
42 assertIsSymlink("link2", "d1/file2", 0); in DEFINE_TEST()
43 assertIsSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST()
53 assertIsSymlink("ld1", "d1", 1); in DEFINE_TEST()
54 assertIsSymlink("d1/link1", "file1", 0); in DEFINE_TEST()
55 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
56 assertIsSymlink("link2", "d1/file2", 0); in DEFINE_TEST()
57 assertIsSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST()
[all …]
H A Dtest_option_L_upper.c39 assertIsSymlink("ld1", "d1", 1); in DEFINE_TEST()
40 assertIsSymlink("d1/link1", "file1", 0); in DEFINE_TEST()
41 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
42 assertIsSymlink("link2", "d1/file2", 0); in DEFINE_TEST()
43 assertIsSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST()
55 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
57 assertIsSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST()
69 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
71 assertIsSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST()
84 assertIsSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST()
[all …]
H A Dtest_option_s.c102 assertIsSymlink("test6a/in/d2/symlink", "realfile", 0); in DEFINE_TEST()
109 assertIsSymlink("test6b/in/d2/symlink", "realfile", 0); in DEFINE_TEST()
122 assertIsSymlink("test7a/in/d1/symlink", "realfile-renamed", 0); in DEFINE_TEST()
129 assertIsSymlink("test7b/in/d1/symlink", "realfile-renamed", 0); in DEFINE_TEST()
185 assertIsSymlink("test10a/in/d1/symlink", "realfile", 0); in DEFINE_TEST()
193 assertIsSymlink("test10b/in/d1/symlink", "realfile", 0); in DEFINE_TEST()
207 assertIsSymlink("test11a/in/d1/symlink", "foo", 0); in DEFINE_TEST()
215 assertIsSymlink("test11b/in/d1/symlink", "foo", 0); in DEFINE_TEST()
H A Dtest_option_U_upper.c66 assertIsSymlink("d1", "realDir", 1); in DEFINE_TEST()
92 assertIsSymlink("d1", "realDir", 1); in DEFINE_TEST()
105 assertIsSymlink("d1", "realDir", 1); in DEFINE_TEST()
H A Dtest_strip_components.c49 assertIsSymlink("target/s2", "d2/f1", 0); in DEFINE_TEST()
107 assertIsSymlink("target2/s2", "d2/f1", 0); in DEFINE_TEST()
H A Dtest_symlink_dir.c116 assertIsSymlink("dest2/dir", "real_dir", 1); in DEFINE_TEST()
117 assertIsSymlink("dest2/dir4", "real_dir", 1); in DEFINE_TEST()
H A Dtest_basic.c62 assertIsSymlink("symlink", "file", 0); in verify_files()
H A Dtest_copy.c209 assertIsSymlink(name1, name2, 0); in verify_tree()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_symlink.c242 assertIsSymlink("link1b", "link1a", 0); in DEFINE_TEST()
248 assertIsSymlink("link2b", "link2a", 0); in DEFINE_TEST()
251 assertIsSymlink("dot", ".", 1); in DEFINE_TEST()
252 assertIsSymlink("dotdot", "..", 1); in DEFINE_TEST()
253 assertIsSymlink("slash", "/", 1); in DEFINE_TEST()
254 assertIsSymlink("sldot", "/.", 1); in DEFINE_TEST()
255 assertIsSymlink("sldotdot", "/..", 1); in DEFINE_TEST()
260 assertIsSymlink("d1nosl", "d1", 0); in DEFINE_TEST()
261 assertIsSymlink("d1slash", "d1/", 1); in DEFINE_TEST()
262 assertIsSymlink("d1sldo in DEFINE_TEST()
[all...]
H A Dtest_write_disk_fixup.c102 assertIsSymlink("dir1", "dir", 0); in DEFINE_TEST()
103 assertIsSymlink("dir2", "file", 0); in DEFINE_TEST()
H A Dtest_read_extract.c162 assertIsSymlink("symlink", "file", 0); in DEFINE_TEST()
H A Dtest_write_disk_hardlink.c255 assertIsSymlink("link5a", "foo", 0); in DEFINE_TEST()
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_L_upper.c47 assertIsSymlink("copy/symlink", NULL, 0); in DEFINE_TEST()
70 assertIsSymlink("unpack/symlink", NULL, 0); in DEFINE_TEST()
H A Dtest_gcpio_compat.c55 assertIsSymlink("symlink", "file", 0); in unpack_test()
H A Dtest_basic.c30 assertIsSymlink("symlink", "file", 0); in verify_files()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_common.h239 #define assertIsSymlink(pathname, contents, isdir) \ macro