Searched refs:systemf (Results 1 - 25 of 98) sorted by relevance

1234

/freebsd-10.0-release/contrib/libarchive/tar/test/
H A Dtest_option_b.c31 if (systemf("cat file1 > test_cat.out 2> test_cat.err") != 0) {
39 assertEqualInt(0, systemf("%s -cf archive1.tar file1 >test1.out 2>test1.err", testprog));
49 assertEqualInt(0, systemf("%s -cf - file1 2>test2.err | cat >archive2.tar ", testprog));
54 assertEqualInt(0, systemf("%s -cf - -b 20 file1 2>test3.err | cat >archive3.tar ", testprog));
58 assertEqualInt(0, systemf("%s -cf - -b 10 file1 2>test4.err | cat >archive4.tar ", testprog));
62 assertEqualInt(0, systemf("%s -cf - -b 1 file1 2>test5.err | cat >archive5.tar ", testprog));
66 assertEqualInt(0, systemf("%s -cf - -b 8192 file1 2>test6.err | cat >archive6.tar ", testprog));
H A Dtest_option_s.c45 systemf("%s -cf - -s /foo/bar/ in/d1/foo > NUL 2> check.err",
58 systemf("%s -cf test1_1.tar -s /foo/bar/ in/d1/foo", testprog);
59 systemf("%s -xf test1_1.tar -C test1", testprog);
61 systemf("%s -cf test1_2.tar -s /d1/d2/ in/d1/foo", testprog);
62 systemf("%s -xf test1_2.tar -C test1", testprog);
69 systemf("%s -cf test2.tar in/d1/foo", testprog);
70 systemf("%s -xf test2.tar -s /foo/bar/ -C test2", testprog);
76 systemf("%s -cf test3.tar -s ,in/d1/foo,, in/d1/foo", testprog);
77 systemf("%s -tvf test3.tar > in.lst", testprog);
84 systemf("
[all...]
H A Dtest_option_k.c37 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog));
41 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
45 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
49 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
53 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
64 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
75 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog));
88 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
101 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog));
H A Dtest_option_q.c44 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog));
48 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
52 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
56 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog));
60 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog));
70 r = systemf("%s -xf ../archive.tar -q foo >test.out 2>test.err",
85 systemf("%s -xf ../archive.tar -q foo bar >test.out 2>test.err", testprog));
96 systemf("%s -xf ../archive.tar --fast-read foo bar >test.out 2>test.err", testprog));
107 systemf("%s -xf ../archive.tar foo bar >test.out 2>test.err", testprog));
H A Dtest_option_C_upper.c44 assertEqualInt(0, systemf("%s -cf archive.tar -C ../d1 file1 -C ../d2 file2", testprog));
46 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
59 assertEqualInt(0, systemf("%s -cf archive.tar -C .. -C d1 file1 -C .. -C d2 file2", testprog));
61 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
73 r = systemf("%s -cf archive.tar -C ../XXX file1 -C ../d2 file2 2>write.err", testprog);
77 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
90 systemf("%s -cf archive.tar -C %s/d1 file1",
93 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
105 systemf("%s -cf archive.tar -C XXX -C %s/d1 file1",
108 systemf("
[all...]
H A Dtest_format_newc.c37 systemf("%s -cf test1.cpio --format newc file1 file2 file3",
42 systemf("%s -xf ../test1.cpio >test.out 2>test.err", testprog));
52 systemf("%s -cf test2.cpio --format newc file1 file2",
57 systemf("%s -xf ../test2.cpio >test.out 2>test.err", testprog));
H A Dtest_option_n.c37 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog));
41 systemf("%s -xf archive.tar >x.out 2>x.err", testprog));
51 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog));
55 systemf("%s -xf archive.tar >x.out 2>x.err", testprog));
H A Dtest_option_nodump.c42 assertEqualInt(0, systemf("%s -cf test1.tar file1 file2 file3",
47 systemf("%s -xf ../test1.tar >test.out 2>test.err", testprog));
56 assertEqualInt(0, systemf("%s -cf test2.tar --nodump file1 file2 file3",
61 systemf("%s -xf ../test2.tar >test.out 2>test.err", testprog));
H A Dtest_option_exclude.c34 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog));
44 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
55 systemf("%s -xf ../archive.tar file1 >test.out 2>test.err", testprog));
66 systemf("%s -xf ../archive.tar --exclude file1 >test.out 2>test.err", testprog));
76 r = systemf("%s -xf ../archive.tar file1 file3 >test.out 2>test.err", testprog);
89 systemf("%s -xf ../archive.tar file1 file1 >test.out 2>test.err", testprog));
100 systemf("%s -xf ../archive.tar --exclude file1 file1 >test.out 2>test.err", testprog));
111 systemf("%s -xf ../archive.tar --exclude file3 file1 >test.out 2>test.err", testprog));
122 r = systemf("%s -xf ../archive.tar file3 >test.out 2>test.err", testprog);
134 r = systemf("
[all...]
H A Dtest_stdio.c58 r = systemf("%s cf archive f l >cf.out 2>cf.err", testprog);
64 r = systemf("%s cvf archive f l >cvf.out 2>cvf.err", testprog);
72 r = systemf("%s cvf - f l >cvf-.out 2>cvf-.err", testprog);
80 r = systemf("%s tf archive >tf.out 2>tf.err", testprog);
87 r = systemf("%s tvf archive >tvf.out 2>tvf.err", testprog);
94 r = systemf("%s tvf - < archive >tvf-.out 2>tvf-.err", testprog);
100 r = systemf("%s xf archive >xf.out 2>xf.err", testprog);
106 r = systemf("%s xvf archive >xvf.out 2>xvf.err", testprog);
112 r = systemf("%s xvOf archive >xvOf.out 2>xvOf.err", testprog);
121 r = systemf("
[all...]
H A Dtest_option_H_upper.c54 systemf("%s -cf test1/archive.tar -C in . >test1/c.out 2>test1/c.err", testprog));
57 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
68 systemf("%s -cf test2/archive.tar -H -C in . >test2/c.out 2>test2/c.err", testprog));
71 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
82 systemf("%s -cf test3/archive.tar -H -C in ld1 d1 link2 linkY >test2/c.out 2>test2/c.err", testprog));
85 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
H A Dtest_option_L_upper.c54 systemf("%s -cf test1/archive.tar -C in . >test1/c.out 2>test1/c.err", testprog));
57 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
68 systemf("%s -cf test2/archive.tar -L -C in . >test2/c.out 2>test2/c.err", testprog));
71 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
82 systemf("%s -cf test3/archive.tar -L -C in ld1 d1 link2 linkY >test2/c.out 2>test2/c.err", testprog));
85 systemf("%s -xf archive.tar >c.out 2>c.err", testprog));
H A Dtest_option_O_upper.c35 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog));
41 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
52 systemf("%s -xOf ../archive.tar file1 >test.out 2>test.err", testprog));
63 systemf("%s -xOf ../archive.tar >test.out 2>test.err", testprog));
74 systemf("%s -tf ../archive.tar >test.out 2>test.err", testprog));
83 systemf("%s -tOf ../archive.tar >test.out 2>test.err", testprog));
H A Dtest_strip_components.c48 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/s1 d0/d1",
51 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/d1",
55 assertEqualInt(0, systemf("%s -x -C target --strip-components 2 "
107 assertEqualInt(0, systemf("%s --strip-components 2 -cf test2.tar "
110 assertEqualInt(0, systemf("%s --strip-components 2 -cf test2.tar "
114 assertEqualInt(0, systemf("%s -x -C target2 -f test2.tar", testprog));
H A Dtest_empty_mtree.c39 r = systemf("%s cf test1.tar @test1.mtree >test1.out 2>test1.err",
H A Dtest_option_U_upper.c35 assertEqualInt(0, systemf("%s -cf archive.tar file1 d1/file1", testprog));
50 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog));
64 systemf("%s -xUf ../archive.tar >test.out 2>test.err", testprog));
83 r = systemf("%s -xf ../archive.tar d1/file1 >test.out 2>test.err", testprog);
97 systemf("%s -xUf ../archive.tar >test.out 2>test.err", testprog));
110 systemf("%s -xPf ../archive.tar d1/file1 >test.out 2>test.err", testprog));
123 systemf("%s -xPUf ../archive.tar d1/file1 >test.out 2>test.err", testprog));
137 systemf("%s -xf ../archive.tar d1/file1 >test.out 2>test.err", testprog));
152 systemf("%s -xPUf ../archive.tar d1/file1 >test.out 2>test.err", testprog));
H A Dtest_option_newer_than.c52 systemf("%s --format pax -cf ../test1.tar "
55 systemf("%s --format pax -cf ../test2.tar *.txt a", testprog));
61 assertEqualInt(0, systemf("%s xf ../test1.tar", testprog));
71 assertEqualInt(0, systemf("%s xf ../test2.tar --newer-than ../test1in/middle.txt", testprog));
H A Dtest_option_older_than.c54 systemf("%s --format pax -cf ../test1.tar "
58 systemf("%s --format pax -cf ../test2.tar *.txt a",
65 assertEqualInt(0, systemf("%s xf ../test1.tar", testprog));
77 systemf("%s xf ../test2.tar --older-than ../test1in/middle.txt",
/freebsd-10.0-release/contrib/libarchive/cpio/test/
H A Dtest_cmdline.c42 assert(0 != systemf("%s -i -Q <empty >1.out 2>1.err", testprog));
46 assert(0 != systemf("%s -if <empty >2.out 2>2.err", testprog));
50 assert(0 != systemf("%s -i -f <empty >3.out 2>3.err", testprog));
54 assert(0 != systemf("%s -i --format <empty >4.out 2>4.err", testprog));
58 assert(0 != systemf("%s -i --badop <empty >5.out 2>5.err", testprog));
62 assert(0 != systemf("%s -i --badopt <empty >6.out 2>6.err", testprog));
66 assert(0 != systemf("%s -i --n <empty >7.out 2>7.err", testprog));
70 assert(0 != systemf("%s --create=arg <empty >8.out 2>8.err", testprog));
74 assert(0 == systemf("%s -i <empty >9.out 2>9.err", testprog));
78 assert(0 == systemf("
[all...]
H A Dtest_option_C_upper.c39 r = systemf("echo file | %s -o > small.cpio 2>small.err", testprog);
45 r = systemf("echo file | %s -o -C 513 > 513.cpio 2>513.err",
52 r = systemf("echo file | %s -o -C12345 > 12345.cpio 2>12345.err",
59 assert(0 != systemf("echo file | %s -o -C > bad.cpio 2>bad.err",
H A Dtest_option_l.c36 r = systemf("echo f | %s -pd copy >copy.out 2>copy.err",
44 r = systemf("echo f | %s -pld link >link.out 2>link.err",
H A Dtest_option_d.c40 r = systemf("echo dir/file | %s -o > archive.cpio 2>archive.err", testprog);
48 r = systemf("%s -i < ../archive.cpio >out 2>err", testprog);
58 r = systemf("%s -id < ../archive.cpio >out 2>err", testprog);
H A Dtest_extract_cpio_bz2.c34 f = systemf("%s -it < %s >test.out 2>test.err", testprog, reffile);
36 assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err",
H A Dtest_extract_cpio_grz.c34 f = systemf("%s -it < %s >test.out 2>test.err", testprog, reffile);
36 assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err",
H A Dtest_extract_cpio_gz.c34 f = systemf("%s -it < %s >test.out 2>test.err", testprog, reffile);
36 assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err",

Completed in 87 milliseconds

1234