Lines Matching +full:separately +full:- +full:defined
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
20 /* Test 1: -c without -n */ in DEFINE_TEST()
24 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
28 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST()
34 /* Test 2: -c with -n */ in DEFINE_TEST()
38 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
42 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST()
58 * get tested separately. This also covers the 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()
72 systemf("%s -tf partial-archive.tar >test3.out 2>test3.err", in DEFINE_TEST()
82 /* Test 4: -t without -n and some entries selected */ in DEFINE_TEST()
84 systemf("%s -tf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
94 /* Test 5: -t with -n and some entries selected */ in DEFINE_TEST()
96 systemf("%s -tnf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
104 /* Test 6: -t without -n and non-existent directory selected */ in DEFINE_TEST()
106 systemf("%s -tf partial-archive.tar d2 >test6.out 2>test6.err", in DEFINE_TEST()
112 /* Test 7: -t with -n and non-existent directory selected */ in DEFINE_TEST()
113 status = systemf("%s -tnf partial-archive.tar d2 " in DEFINE_TEST()
116 assert(status != -1); in DEFINE_TEST()
117 #if !defined(_WIN32) || defined(__CYGWIN__) in DEFINE_TEST()