Home
last modified time | relevance | path

Searched refs:assertMakeFile (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_exclude_vcs.c14 assertMakeFile("file", 0644, ""); in DEFINE_TEST()
17 assertMakeFile("CVS/fileattr", 0644, ""); in DEFINE_TEST()
18 assertMakeFile(".cvsignore", 0644, ""); in DEFINE_TEST()
20 assertMakeFile("RCS/somefile", 0655, ""); in DEFINE_TEST()
22 assertMakeFile("SCCS/somefile", 0655, ""); in DEFINE_TEST()
24 assertMakeFile(".svn/format", 0655, ""); in DEFINE_TEST()
26 assertMakeFile(".git/config", 0655, ""); in DEFINE_TEST()
27 assertMakeFile(".gitignore", 0644, ""); in DEFINE_TEST()
28 assertMakeFile(".gitattributes", 0644, ""); in DEFINE_TEST()
29 assertMakeFile(".gitmodules", 0644, ""); in DEFINE_TEST()
[all …]
H A Dtest_option_X_upper.c16 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
17 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
18 assertMakeFile("file3a", 0644, "file3a"); in DEFINE_TEST()
19 assertMakeFile("file4a", 0644, "file4a"); in DEFINE_TEST()
46 assertMakeFile("exclusions", 0644, "file1\n"); in DEFINE_TEST()
60 assertMakeFile("exclusions", 0644, "file1\nfile2\n"); in DEFINE_TEST()
74 assertMakeFile("exclusions", 0644, "file1\nfile2"); in DEFINE_TEST()
88 assertMakeFile("exclusions", 0644, "file1\nfile2"); in DEFINE_TEST()
102 assertMakeFile("exclusions", 0644, "file1\nfile2"); in DEFINE_TEST()
116 assertMakeFile("exclusions", 0644, "file*a\nfile1"); in DEFINE_TEST()
[all …]
H A Dtest_symlink_dir.c20 assertMakeFile("source/file", 0755, "a"); in DEFINE_TEST()
21 assertMakeFile("source/file2", 0755, "ab"); in DEFINE_TEST()
24 assertMakeFile("source/dir/f", 0755, "abc"); in DEFINE_TEST()
27 assertMakeFile("source/dir2/f2", 0755, "abcd"); in DEFINE_TEST()
30 assertMakeFile("source/dir3/f3", 0755, "abcde"); in DEFINE_TEST()
32 assertMakeFile("source/dir4/file3", 0755, "abcdef"); in DEFINE_TEST()
57 assertMakeFile("dest1/non_dir3", 0755, "abcdef"); in DEFINE_TEST()
61 assertMakeFile("dest1/real_file", 0755, "abcdefg"); in DEFINE_TEST()
97 assertMakeFile("dest2/non_dir3", 0755, "abcdefgh"); in DEFINE_TEST()
101 assertMakeFile("dest2/real_file", 0755, "abcdefghi"); in DEFINE_TEST()
H A Dtest_option_k.c16 assertMakeFile("foo", 0644, "foo1"); in DEFINE_TEST()
20 assertMakeFile("foo", 0644, "foo2"); in DEFINE_TEST()
24 assertMakeFile("bar", 0644, "bar1"); in DEFINE_TEST()
28 assertMakeFile("foo", 0644, "foo3"); in DEFINE_TEST()
32 assertMakeFile("bar", 0644, "bar2"); in DEFINE_TEST()
66 assertMakeFile("bar", 0644, "bar0"); in DEFINE_TEST()
67 assertMakeFile("foo", 0644, "foo0"); in DEFINE_TEST()
79 assertMakeFile("bar", 0644, "bar0"); in DEFINE_TEST()
80 assertMakeFile("foo", 0644, "foo0"); in DEFINE_TEST()
H A Dtest_option_T_upper.c28 if (!assertMakeFile("f", 0644, "")) return; in DEFINE_TEST()
29 if (!assertMakeFile("d1/f1", 0644, "")) return; in DEFINE_TEST()
30 if (!assertMakeFile("d1/f2", 0644, "")) return; in DEFINE_TEST()
31 if (!assertMakeFile("d1/d2/f3", 0644, "")) return; in DEFINE_TEST()
32 if (!assertMakeFile("d1/d2/f4", 0644, "")) return; in DEFINE_TEST()
33 if (!assertMakeFile("d1/d2/f5", 0644, "")) return; in DEFINE_TEST()
34 if (!assertMakeFile("d1/d2/f6", 0644, "")) return; in DEFINE_TEST()
136 assertMakeFile("test4/d1/foo", 0644, ""); in DEFINE_TEST()
H A Dtest_option_safe_writes.c14 assertMakeFile("f", 0644, "a"); in DEFINE_TEST()
15 assertMakeFile("fh", 0644, "b"); in DEFINE_TEST()
16 assertMakeFile("d", 0644, "c"); in DEFINE_TEST()
17 assertMakeFile("fs", 0644, "d"); in DEFINE_TEST()
18 assertMakeFile("ds", 0644, "e"); in DEFINE_TEST()
33 assertMakeFile("f", 0644, "a"); in DEFINE_TEST()
H A Dtest_option_U_upper.c13 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
15 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST()
28 assertMakeFile("file1", 0644, "file1new"); in DEFINE_TEST()
42 assertMakeFile("file1", 0644, "file1new"); in DEFINE_TEST()
115 assertMakeFile("d1/realfile1", 0644, "realfile1"); in DEFINE_TEST()
130 assertMakeFile("d1/realfile1", 0644, "realfile1"); in DEFINE_TEST()
H A Dtest_option_older_than.c23 assertMakeFile("old.txt", 0644, "old.txt"); in DEFINE_TEST()
24 assertMakeFile("a/b/old.txt", 0644, "old file in old directory"); in DEFINE_TEST()
27 assertMakeFile("middle.txt", 0644, "middle.txt"); in DEFINE_TEST()
30 assertMakeFile("new.txt", 0644, "new"); in DEFINE_TEST()
31 assertMakeFile("a/b/new.txt", 0644, "new file in old directory"); in DEFINE_TEST()
H A Dtest_option_q.c23 assertMakeFile("foo", 0644, "foo1"); in DEFINE_TEST()
27 assertMakeFile("foo", 0644, "foo2"); in DEFINE_TEST()
31 assertMakeFile("bar", 0644, "bar1"); in DEFINE_TEST()
35 assertMakeFile("foo", 0644, "foo3"); in DEFINE_TEST()
39 assertMakeFile("bar", 0644, "bar2"); in DEFINE_TEST()
H A Dtest_option_newer_than.c22 assertMakeFile("old.txt", 0644, "old.txt"); in DEFINE_TEST()
25 assertMakeFile("middle.txt", 0644, "middle.txt"); in DEFINE_TEST()
28 assertMakeFile("new.txt", 0644, "new"); in DEFINE_TEST()
29 assertMakeFile("a/b/new.txt", 0644, "new file in old directory"); in DEFINE_TEST()
H A Dtest_option_n.c18 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST()
62 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST()
63 assertMakeFile("file3", 0644, "file3"); in DEFINE_TEST()
65 assertMakeFile("d2/file4", 0644, "d2/file4"); in DEFINE_TEST()
H A Dtest_option_C_upper.c15 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST()
16 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST()
17 assertMakeFile("d2/file1", 0644, "d2/file1"); in DEFINE_TEST()
18 assertMakeFile("d2/file2", 0644, "d2/file2"); in DEFINE_TEST()
H A Dtest_option_nodump.c17 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
18 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
19 assertMakeFile("file3", 0644, "file3"); in DEFINE_TEST()
H A Dtest_option_s.c16 assertMakeFile("in/d1/foo", 0644, "foo"); in DEFINE_TEST()
17 assertMakeFile("in/d1/bar", 0644, "bar"); in DEFINE_TEST()
19 assertMakeFile("in/d1/realfile", 0644, "realfile"); in DEFINE_TEST()
22 assertMakeFile("in/d1/hardlink1", 0644, "hardlinkedfile"); in DEFINE_TEST()
H A Dtest_option_ignore_zeros.c16 assertMakeFile("in/a", 0644, "a"); in make_files()
17 assertMakeFile("in/b", 0644, "b"); in make_files()
18 assertMakeFile("in/c", 0644, "c"); in make_files()
H A Dtest_option_r.c25 assertMakeFile("f1", 0644, "abc"); in DEFINE_TEST()
52 assertMakeFile("f1", 0644, buff); in DEFINE_TEST()
78 assertMakeFile("f2", 0644, "f2"); in DEFINE_TEST()
H A Dtest_missing_file.c12 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
13 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
H A Dtest_option_keep_newer_files.c19 assertMakeFile("file", 0644, "new"); in DEFINE_TEST()
30 assertMakeFile("file", 0644, "new"); in DEFINE_TEST()
H A Dtest_format_newc.c12 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
13 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
H A Dtest_option_O_upper.c14 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
15 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_missing_file.c13 assertMakeFile("file1", 0644, "file1"); in DEFINE_TEST()
14 assertMakeFile("file2", 0644, "file2"); in DEFINE_TEST()
16 assertMakeFile("filelist1", 0644, "file1\nfile2\n"); in DEFINE_TEST()
21 assertMakeFile("filelist2", 0644, "file1\nfile2\nfile3\n"); in DEFINE_TEST()
25 assertMakeFile("filelist3", 0644, ""); in DEFINE_TEST()
30 assertMakeFile("filelist4", 0644, "file3\n"); in DEFINE_TEST()
H A Dtest_option_0.c17 assertMakeFile("file1", 0644, "1234567890"); in DEFINE_TEST()
18 assertMakeFile("file2", 0644, "1234567890"); in DEFINE_TEST()
19 assertMakeFile("file3", 0644, "1234567890"); in DEFINE_TEST()
20 assertMakeFile("file4", 0644, "1234567890"); in DEFINE_TEST()
H A Dtest_extract_cpio_absolute_paths.c33 assertMakeFile(temp_absolute_file_name, 0644, sample_data); in DEFINE_TEST()
36 assertMakeFile("filelist", 0644, temp_absolute_file_name); in DEFINE_TEST()
/freebsd/contrib/libarchive/unzip/test/
H A Dtest_o.c16 assertMakeFile("test_basic/a", 0644, "orig a\n"); in DEFINE_TEST()
17 assertMakeFile("test_basic/b", 0644, "orig b\n"); in DEFINE_TEST()
H A Dtest_n.c16 assertMakeFile("test_basic/a", 0644, "orig a\n"); in DEFINE_TEST()
17 assertMakeFile("test_basic/b", 0644, "orig b\n"); in DEFINE_TEST()

1234