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

1 2 3 4 5 6

  /src/external/bsd/libarchive/dist/tar/test/
test_option_s.c 27 testprog);
31 testprog);
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);
    [all...]
test_version.c 15 assertVersion(testprog, "bsdtar");
test_0.c 23 failure("File %s does not exist?!", testprog);
27 testprog);
31 failure("%s is not executable?!", testprog);
35 testprog);
43 if (0 == systemf("%s --version >" DEV_NULL, testprog)) {
45 } else if (0 == systemf("%s -W version >" DEV_NULL, testprog)) {
51 testprog, testprog);
test_empty_mtree.c 21 testprog);
22 failure("Error invoking %s cf", 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));
52 testprog);
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));
72 testprog, testworkdir));
74 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
87 testprog, testworkdir));
89 systemf("%s -xf archive.tar >test.out 2>test.err", testprog));
    [all...]
test_option_mtime.c 43 testprog));
48 assertEqualInt(0, systemf("%s xf ../noclamp.tar", testprog));
59 testprog));
64 assertEqualInt(0, systemf("%s xf ../clamp.tar", testprog));
74 testprog));
77 assertEqualInt(0, systemf("%s xf ../archive2archive.tar", testprog));
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_option_gid_gname.c 18 failure("Error invoking %s c", testprog);
21 testprog));
27 failure("Error invoking %s c", testprog);
30 testprog));
40 failure("Error invoking %s c", testprog);
43 testprog));
54 failure("Error invoking %s c", testprog);
57 testprog));
test_option_group.c 19 failure("Error invoking %s c", testprog);
22 testprog));
28 failure("Error invoking %s c", testprog);
31 testprog));
41 failure("Error invoking %s c", testprog);
44 testprog));
54 failure("Error invoking %s c", testprog);
57 testprog));
test_option_owner.c 19 failure("Error invoking %s c", testprog);
22 testprog));
28 failure("Error invoking %s c", testprog);
31 testprog));
41 failure("Error invoking %s c", testprog);
44 testprog));
54 failure("Error invoking %s c", testprog);
57 testprog));
test_option_uid_uname.c 18 failure("Error invoking %s c", testprog);
21 testprog));
27 failure("Error invoking %s c", testprog);
30 testprog));
40 failure("Error invoking %s c", testprog);
43 testprog));
53 failure("Error invoking %s c", testprog);
56 testprog));
test_format_newc.c 19 testprog));
23 systemf("%s -xf ../test1.cpio >test.out 2>test.err", testprog));
34 testprog));
38 systemf("%s -xf ../test2.cpio >test.out 2>test.err", testprog));
test_option_nodump.c 24 testprog));
28 systemf("%s -xf ../test1.tar >test.out 2>test.err", testprog));
38 testprog));
42 systemf("%s -xf ../test2.tar >test.out 2>test.err", testprog));
  /src/external/bsd/libarchive/dist/cat/test/
test_version.c 15 assertVersion(testprog, "bsdcat");
test_0.c 23 failure("File %s does not exist?!", testprog);
27 testprog);
31 failure("%s is not executable?!", testprog);
35 testprog);
43 if (0 != systemf("%s --version >" DEV_NULL, testprog)) {
44 failure("Unable to successfully run: %s --version\n", testprog);
  /src/external/bsd/libarchive/dist/cpio/test/
test_option_version.c 11 assertVersion(testprog, "bsdcpio");
test_0.c 27 testprog);
35 testprog);
43 if (0 == systemf("%s --version >" DEV_NULL, testprog)) {
45 } else if (0 == systemf("%s -W version >" DEV_NULL, testprog)) {
51 testprog, testprog);
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);
26 testprog);
33 testprog);
40 testprog));
test_option_l.c 18 testprog);
26 testprog);
  /src/tests/usr.bin/nbperf/
h_nbperf.sh 31 cc -o testprog -I. $5
32 head -n $4 $1 | ./testprog | $3

Completed in 31 milliseconds

1 2 3 4 5 6