HomeSort by: relevance | last modified time | path
    Searched refs:systemf (Results 1 - 25 of 142) sorted by relevancy

1 2 3 4 5 6

  /src/external/bsd/libarchive/dist/tar/test/
test_option_s.c 26 systemf("%s -cf - -s /foo/bar/ in/d1/foo > NUL 2> check.err",
39 systemf("%s -cf test1_1.tar -s /foo/bar/ in/d1/foo", testprog);
40 systemf("%s -xf test1_1.tar -C test1", testprog);
42 systemf("%s -cf test1_2.tar -s /d1/d2/ in/d1/foo", testprog);
43 systemf("%s -xf test1_2.tar -C test1", testprog);
45 systemf("%s -cf test1_3.tar -s /o/#/g in/d1/foo", testprog);
46 systemf("%s -xf test1_3.tar -C test1", testprog);
49 systemf("%s -cf test1_4.tar -s /f*/\\<~\\>/g in/d1/foo", testprog);
50 systemf("%s -xf test1_4.tar -C test1", testprog);
56 systemf("%s -cf test2.tar in/d1/foo", testprog)
    [all...]
test_option_mtime.c 20 * Since this test makes heavy use of systemf() with quoted arguments inside
23 #define systemf(command, ...) systemf("\"" command "\"", __VA_ARGS__) macro
41 systemf("%s --format pax -cf ../noclamp.tar "
48 assertEqualInt(0, systemf("%s xf ../noclamp.tar", testprog));
57 systemf("%s --format pax -cf ../clamp.tar "
64 assertEqualInt(0, systemf("%s xf ../clamp.tar", testprog));
72 systemf("%s --format pax -cf ./archive2archive.tar "
77 assertEqualInt(0, systemf("%s xf ../archive2archive.tar", testprog));
test_missing_file.c 14 assert(0 == systemf("%s -cf archive.tar file1 file2 2>stderr1", testprog));
16 assert(0 != systemf("%s -cf archive.tar file1 file2 file3 2>stderr2", testprog));
18 assert(0 != systemf("%s -cf archive.tar 2>stderr3", testprog));
20 assert(0 != systemf("%s -cf archive.tar file3 file4 2>stderr4", testprog));
test_option_k.c 18 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog));
22 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
26 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
30 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
34 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
45 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
56 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog));
69 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
82 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog));
test_option_q.c 25 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog));
29 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
33 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
37 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
41 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
51 r = systemf("%s -xf ../archive.tar -q foo >test.out 2>test.err",
66 systemf("%s -xf ../archive.tar -q foo bar >test.out 2>test.err", testprog));
77 systemf("%s -xf ../archive.tar --fast-read foo bar >test.out 2>test.err", testprog));
88 systemf("%s -xf ../archive.tar foo bar >test.out 2>test.err", testprog));
test_option_C_upper.c 25 assertEqualInt(0, systemf("%s -cf archive.tar -C ../d1 file1 -C ../d2 file2", testprog));
27 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
40 assertEqualInt(0, systemf("%s -cf archive.tar -C .. -C d1 file1 -C .. -C d2 file2", testprog));
42 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
54 r = systemf("%s -cf archive.tar -C ../XXX file1 -C ../d2 file2 2>write.err", testprog);
58 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
71 systemf("%s -cf archive.tar -C %s/d1 file1",
74 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
86 systemf("%s -cf archive.tar -C XXX -C %s/d1 file1",
89 systemf("%s -xf archive.tar >test.out 2>test.err", testprog))
    [all...]
test_option_H_upper.c 35 systemf("%s -cf test1/archive.tar -C in . >test1/c.out 2>test1/c.err", testprog));
38 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
49 systemf("%s -cf test2/archive.tar -H -C in . >test2/c.out 2>test2/c.err", testprog));
52 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
63 systemf("%s -cf test3/archive.tar -H -C in ld1 d1 link2 linkY >test3/c.out 2>test3/c.err", testprog));
66 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
78 systemf("%s -cf test4/archive.tar -H -C in * >test4/c.out 2>test4/c.err", testprog));
81 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
test_format_newc.c 18 systemf("%s -cf test1.cpio --format newc file1 file2 file3",
23 systemf("%s -xf ../test1.cpio >test.out 2>test.err", testprog));
33 systemf("%s -cf test2.cpio --format newc file1 file2",
38 systemf("%s -xf ../test2.cpio >test.out 2>test.err", testprog));
test_option_nodump.c 23 assertEqualInt(0, systemf("%s -cf test1.tar file1 file2 file3",
28 systemf("%s -xf ../test1.tar >test.out 2>test.err", testprog));
37 assertEqualInt(0, systemf("%s -cf test2.tar --nodump file1 file2 file3",
42 systemf("%s -xf ../test2.tar >test.out 2>test.err", testprog));
test_option_ignore_zeros.c 19 assertEqualInt(0, systemf("%s cf a.tar -C in a", testprog));
20 assertEqualInt(0, systemf("%s cf b.tar -C in b", testprog));
22 ret = systemf("cat a.tar b.tar > ab-cat.tar");
37 assertEqualInt(0, systemf(
42 assertEqualInt(0, systemf(
48 assertEqualInt(0, systemf(
61 assertEqualInt(0, systemf(
74 // The first command run by systemf below prints this to stderr:
83 assertEqualInt(0, systemf(
90 assertEqualInt(0, systemf(
    [all...]
test_option_b.c 17 if (systemf("cat file1 > test_cat.out 2> test_cat.err") != 0) {
29 assertEqualInt(0, systemf("%s -cf archive1.tar file1 >test1.out 2>test1.err", testprog_ustar));
39 assertEqualInt(0, systemf("%s -cf - file1 2>test2.err | cat >archive2.tar ", testprog_ustar));
44 assertEqualInt(0, systemf("%s -cf - -b 20 file1 2>test3.err | cat >archive3.tar ", testprog_ustar));
48 assertEqualInt(0, systemf("%s -cf - -b 10 file1 2>test4.err | cat >archive4.tar ", testprog_ustar));
52 assertEqualInt(0, systemf("%s -cf - -b 1 file1 2>test5.err | cat >archive5.tar ", testprog_ustar));
56 assertEqualInt(0, systemf("%s -cf - -b 8192 file1 2>test6.err | cat >archive6.tar ", testprog_ustar));
test_option_exclude.c 15 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog));
25 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
36 systemf("%s -xf ../archive.tar file1 >test.out 2>test.err", testprog));
47 systemf("%s -xf ../archive.tar --exclude file1 >test.out 2>test.err", testprog));
57 r = systemf("%s -xf ../archive.tar file1 file3 >test.out 2>test.err", testprog);
70 systemf("%s -xf ../archive.tar file1 file1 >test.out 2>test.err", testprog));
81 systemf("%s -xf ../archive.tar --exclude file1 file1 >test.out 2>test.err", testprog));
92 systemf("%s -xf ../archive.tar --exclude file3 file1 >test.out 2>test.err", testprog));
103 r = systemf("%s -xf ../archive.tar file3 >test.out 2>test.err", testprog);
115 r = systemf("%s -xf ../archive.tar --exclude file1 file3 >test.out 2>test.err", testprog)
    [all...]
test_option_n.c 24 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog));
28 systemf("%s -xf archive.tar >x.out 2>x.err", testprog));
38 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog));
42 systemf("%s -xf archive.tar >x.out 2>x.err", testprog));
67 systemf("%s -cnf partial-archive.tar d1 d1/file1 d1/file2 file3 "
72 systemf("%s -tf partial-archive.tar >test3.out 2>test3.err",
84 systemf("%s -tf partial-archive.tar d1 file3 d2/file4 "
96 systemf("%s -tnf partial-archive.tar d1 file3 d2/file4 "
106 systemf("%s -tf partial-archive.tar d2 >test6.out 2>test6.err",
113 status = systemf("%s -tnf partial-archive.tar d2
    [all...]
test_option_O_upper.c 16 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog));
22 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
33 systemf("%s -xOf ../archive.tar file1 >test.out 2>test.err", testprog));
44 systemf("%s -xOf ../archive.tar >test.out 2>test.err", testprog));
55 systemf("%s -tf ../archive.tar >test.out 2>test.err", testprog));
64 systemf("%s -tOf ../archive.tar >test.out 2>test.err", testprog));
test_option_fflags.c 57 r = systemf("%s -c --fflags -f fflags.tar f >fflags.out 2>fflags.err", testprog);
61 r = systemf("%s -c --no-fflags -f nofflags.tar f >nofflags.out 2>nofflags.err", testprog);
67 r = systemf("%s -x -C fflags_fflags --no-same-permissions --fflags -f fflags.tar >fflags_fflags.out 2>fflags_fflags.err", testprog);
74 r = systemf("%s -x -C fflags_nofflags -p --no-fflags -f fflags.tar >fflags_nofflags.out 2>fflags_nofflags.err", testprog);
81 r = systemf("%s -x -C nofflags_fflags --no-same-permissions --fflags -f nofflags.tar >nofflags_fflags.out 2>nofflags_fflags.err", testprog);
88 r = systemf("%s -x -C nofflags_nofflags -p --no-fflags -f nofflags.tar >nofflags_nofflags.out 2>nofflags_nofflags.err", testprog);
test_strip_components.c 29 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/s1 d0/d1",
32 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/d1",
36 assertEqualInt(0, systemf("%s -x -C target --strip-components 2 "
89 assertEqualInt(0, systemf("%s --strip-components 2 -cf test2.tar "
92 assertEqualInt(0, systemf("%s --strip-components 2 -cf test2.tar "
96 assertEqualInt(0, systemf("%s -x -C target2 -f test2.tar", testprog));
  /src/external/bsd/libarchive/dist/cpio/test/
test_cmdline.c 23 assert(0 != systemf("%s -i -Q <empty >1.out 2>1.err", testprog));
27 assert(0 != systemf("%s -if <empty >2.out 2>2.err", testprog));
31 assert(0 != systemf("%s -i -f <empty >3.out 2>3.err", testprog));
35 assert(0 != systemf("%s -i --format <empty >4.out 2>4.err", testprog));
39 assert(0 != systemf("%s -i --badop <empty >5.out 2>5.err", testprog));
43 assert(0 != systemf("%s -i --badopt <empty >6.out 2>6.err", testprog));
47 assert(0 != systemf("%s -i --n <empty >7.out 2>7.err", testprog));
51 assert(0 != systemf("%s --create=arg <empty >8.out 2>8.err", testprog));
55 assert(0 == systemf("%s -i <empty >9.out 2>9.err", testprog));
59 assert(0 == systemf("%s -o <empty >10.out 2>10.err", testprog))
    [all...]
test_missing_file.c 17 r = systemf("%s -o <filelist1 >stdout1 2>stderr1", testprog);
22 r = systemf("%s -o <filelist2 >stdout2 2>stderr2", testprog);
26 r = systemf("%s -o <filelist3 >stdout3 2>stderr3", testprog);
31 r = systemf("%s -o <filelist4 >stdout4 2>stderr4", testprog);
test_option_C_upper.c 19 r = systemf("echo file | %s -o > small.cpio 2>small.err", testprog);
25 r = systemf("echo file | %s -o -C 513 > 513.cpio 2>513.err",
32 r = systemf("echo file | %s -o -C12345 > 12345.cpio 2>12345.err",
39 assert(0 != systemf("echo file | %s -o -C > bad.cpio 2>bad.err",
test_option_l.c 17 r = systemf("echo f | %s -pd copy >copy.out 2>copy.err",
25 r = systemf("echo f | %s -pld link >link.out 2>link.err",
test_option_d.c 20 r = systemf("echo dir/file | %s -o > archive.cpio 2>archive.err", testprog);
28 r = systemf("%s -i < ../archive.cpio >out 2>err", testprog);
38 r = systemf("%s -id < ../archive.cpio >out 2>err", testprog);
  /src/external/bsd/libarchive/dist/cat/test/
test.h 18 #define EXTRA_VERSION (systemf("%s --version", testprog) ? "" : "")
test_error.c 14 assert(0 != systemf("%s %s >test.out 2>test.err", testprog, reffile));
test_expand_Z.c 14 assertEqualInt(0, systemf("%s %s >test.out 2>test.err", testprog, reffile));
test_expand_plain.c 14 assertEqualInt(0, systemf("%s %s >test.out 2>test.err", testprog, reffile));

Completed in 106 milliseconds

1 2 3 4 5 6