Lines Matching +full:3 +full:d1
17 assertMakeDir("d1", 0755); in DEFINE_TEST()
18 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST()
24 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
31 assertFileContents("d1/file1", 8, "d1/file1"); in DEFINE_TEST()
38 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
45 assertIsDir("d1", umasked(0755)); in DEFINE_TEST()
46 assertFileNotExists("d1/file1"); in DEFINE_TEST()
51 * d1/ in DEFINE_TEST()
52 * d1/file1 in DEFINE_TEST()
53 * d1/file2 in DEFINE_TEST()
62 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST()
67 systemf("%s -cnf partial-archive.tar d1 d1/file1 d1/file2 file3 " in DEFINE_TEST()
70 /* Test 3: -t without other options */ in DEFINE_TEST()
75 assertTextFileContents("d1/\n" in DEFINE_TEST()
76 "d1/file1\n" in DEFINE_TEST()
77 "d1/file2\n" in DEFINE_TEST()
84 systemf("%s -tf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
87 assertTextFileContents("d1/\n" in DEFINE_TEST()
88 "d1/file1\n" in DEFINE_TEST()
89 "d1/file2\n" in DEFINE_TEST()
96 systemf("%s -tnf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
99 assertTextFileContents("d1/\n" in DEFINE_TEST()