| /freebsd-13.1/contrib/libarchive/tar/test/ |
| H A D | test_option_s.c | 46 testprog); in DEFINE_TEST() 50 testprog); in DEFINE_TEST() 85 testprog); in DEFINE_TEST() 107 testprog, testprog); in DEFINE_TEST() 114 testprog, testprog); in DEFINE_TEST() 127 testprog, testprog); in DEFINE_TEST() 134 testprog, testprog); in DEFINE_TEST() 189 testprog, testprog); in DEFINE_TEST() 197 testprog, testprog); in DEFINE_TEST() 211 testprog, testprog); in DEFINE_TEST() [all …]
|
| H A D | test_option_C_upper.c | 46 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 61 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 77 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 91 testprog, testworkdir)); in DEFINE_TEST() 93 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 106 testprog, testworkdir)); in DEFINE_TEST() 108 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 120 testprog); in DEFINE_TEST() 124 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 134 r = systemf("%s -cf archive.tar ../d1/file1 -C 2>write.err", testprog); in DEFINE_TEST() [all …]
|
| H A D | test_option_n.c | 43 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST() 47 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST() 57 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST() 61 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST() 87 "d2/file4 >c.out 2>c.err", testprog)); in DEFINE_TEST() 92 testprog)); in DEFINE_TEST() 104 ">test4.out 2>test4.err", testprog)); in DEFINE_TEST() 116 ">test5.out 2>test5.err", testprog)); in DEFINE_TEST() 126 testprog)); in DEFINE_TEST() 133 ">test7.out 2>test7.err", testprog); in DEFINE_TEST()
|
| H A D | test_option_ignore_zeros.c | 39 assertEqualInt(0, systemf("%s cf a.tar -C in a", testprog)); in make_files() 40 assertEqualInt(0, systemf("%s cf b.tar -C in b", testprog)); in make_files() 59 testprog)); in DEFINE_TEST() 64 testprog)); in DEFINE_TEST() 70 testprog)); in DEFINE_TEST() 83 testprog)); in DEFINE_TEST() 99 testprog)); in DEFINE_TEST() 105 testprog)); in DEFINE_TEST() 123 testprog, mode)); in test_option_ignore_zeros_mode_ru() 130 testprog)); in test_option_ignore_zeros_mode_ru()
|
| H A D | test_stdio.c | 58 r = systemf("%s cf archive f l >cf.out 2>cf.err", testprog); in DEFINE_TEST() 64 r = systemf("%s cvf archive f l >cvf.out 2>cvf.err", testprog); in DEFINE_TEST() 72 r = systemf("%s cvf - f l >cvf-.out 2>cvf-.err", testprog); in DEFINE_TEST() 80 r = systemf("%s tf archive >tf.out 2>tf.err", testprog); in DEFINE_TEST() 87 r = systemf("%s tvf archive >tvf.out 2>tvf.err", testprog); in DEFINE_TEST() 94 r = systemf("%s tvf - < archive >tvf-.out 2>tvf-.err", testprog); in DEFINE_TEST() 100 r = systemf("%s xf archive >xf.out 2>xf.err", testprog); in DEFINE_TEST() 106 r = systemf("%s xvf archive >xvf.out 2>xvf.err", testprog); in DEFINE_TEST() 112 r = systemf("%s xvOf archive >xvOf.out 2>xvOf.err", testprog); in DEFINE_TEST() 122 r = systemf("%s xvf - < archive >xvf-.out 2>xvf-.err", testprog); in DEFINE_TEST()
|
| H A D | test_option_k.c | 37 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog)); in DEFINE_TEST() 41 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog)); in DEFINE_TEST() 45 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog)); in DEFINE_TEST() 49 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog)); in DEFINE_TEST() 53 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog)); in DEFINE_TEST() 64 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 75 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog)); in DEFINE_TEST() 88 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 101 systemf("%s -xf ../archive.tar -k >test.out 2>test.err", testprog)); in DEFINE_TEST()
|
| H A D | test_option_q.c | 44 assertEqualInt(0, systemf("%s -cf archive.tar foo", testprog)); in DEFINE_TEST() 48 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog)); in DEFINE_TEST() 52 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog)); in DEFINE_TEST() 56 assertEqualInt(0, systemf("%s -rf archive.tar foo", testprog)); in DEFINE_TEST() 60 assertEqualInt(0, systemf("%s -rf archive.tar bar", testprog)); in DEFINE_TEST() 71 testprog); in DEFINE_TEST() 85 systemf("%s -xf ../archive.tar -q foo bar >test.out 2>test.err", testprog)); in DEFINE_TEST() 96 systemf("%s -xf ../archive.tar --fast-read foo bar >test.out 2>test.err", testprog)); in DEFINE_TEST() 107 systemf("%s -xf ../archive.tar foo bar >test.out 2>test.err", testprog)); in DEFINE_TEST()
|
| H A D | test_option_exclude.c | 34 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog)); in DEFINE_TEST() 44 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 55 systemf("%s -xf ../archive.tar file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 66 systemf("%s -xf ../archive.tar --exclude file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 76 r = systemf("%s -xf ../archive.tar file1 file3 >test.out 2>test.err", testprog); in DEFINE_TEST() 89 systemf("%s -xf ../archive.tar file1 file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 100 systemf("%s -xf ../archive.tar --exclude file1 file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 111 systemf("%s -xf ../archive.tar --exclude file3 file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 122 r = systemf("%s -xf ../archive.tar file3 >test.out 2>test.err", testprog); in DEFINE_TEST() 134 r = systemf("%s -xf ../archive.tar --exclude file1 file3 >test.out 2>test.err", testprog); in DEFINE_TEST()
|
| H A D | test_0.c | 42 failure("File %s does not exist?!", testprog); in DEFINE_TEST() 46 testprog); in DEFINE_TEST() 50 failure("%s is not executable?!", testprog); in DEFINE_TEST() 54 testprog); in DEFINE_TEST() 62 if (0 == systemf("%s --version >" DEV_NULL, testprog)) { in DEFINE_TEST() 64 } else if (0 == systemf("%s -W version >" DEV_NULL, testprog)) { in DEFINE_TEST() 70 testprog, testprog); in DEFINE_TEST()
|
| H A D | test_option_gid_gname.c | 37 failure("Error invoking %s c", testprog); in DEFINE_TEST() 40 testprog)); in DEFINE_TEST() 46 failure("Error invoking %s c", testprog); in DEFINE_TEST() 49 testprog)); in DEFINE_TEST() 59 failure("Error invoking %s c", testprog); in DEFINE_TEST() 62 testprog)); in DEFINE_TEST() 73 failure("Error invoking %s c", testprog); in DEFINE_TEST() 76 testprog)); in DEFINE_TEST()
|
| H A D | test_option_uid_uname.c | 37 failure("Error invoking %s c", testprog); in DEFINE_TEST() 40 testprog)); in DEFINE_TEST() 46 failure("Error invoking %s c", testprog); in DEFINE_TEST() 49 testprog)); in DEFINE_TEST() 59 failure("Error invoking %s c", testprog); in DEFINE_TEST() 62 testprog)); in DEFINE_TEST() 72 failure("Error invoking %s c", testprog); in DEFINE_TEST() 75 testprog)); in DEFINE_TEST()
|
| H A D | test_option_X_upper.c | 40 systemf("%s -cf archive.tar file1 file2 file3a file4a", testprog)); in DEFINE_TEST() 50 testprog); in DEFINE_TEST() 67 systemf("%s -xf ../archive.tar -X exclusions >test.out 2>test.err", testprog)); in DEFINE_TEST() 81 systemf("%s -xf ../archive.tar -X exclusions >test.out 2>test.err", testprog)); in DEFINE_TEST() 95 systemf("%s -xf ../archive.tar -X exclusions >test.out 2>test.err", testprog)); in DEFINE_TEST() 109 systemf("%s -xf ../archive.tar -X exclusions file3a >test.out 2>test.err", testprog)); in DEFINE_TEST() 123 systemf("%s -xf ../archive.tar -X exclusions file1 file3a >test.out 2>test.err", testprog)); in DEFINE_TEST() 137 systemf("%s -xf ../archive.tar -X exclusions >test.out 2>test.err", testprog)); in DEFINE_TEST() 151 systemf("%s -xf ../archive.tar -X exclusions >test.out 2>test.err", testprog)); in DEFINE_TEST()
|
| H A D | test_option_U_upper.c | 35 assertEqualInt(0, systemf("%s -cf archive.tar file1 d1/file1", testprog)); in DEFINE_TEST() 50 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 64 systemf("%s -xUf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 83 r = systemf("%s -xf ../archive.tar d1/file1 >test.out 2>test.err", testprog); in DEFINE_TEST() 97 systemf("%s -xUf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 110 systemf("%s -xPf ../archive.tar d1/file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 123 systemf("%s -xPUf ../archive.tar d1/file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 137 systemf("%s -xf ../archive.tar d1/file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 152 systemf("%s -xPUf ../archive.tar d1/file1 >test.out 2>test.err", testprog)); in DEFINE_TEST()
|
| H A D | test_patterns.c | 56 r = systemf("%s cfv tar1.tgz foo > tar1a.out 2> tar1a.err", testprog); in DEFINE_TEST() 58 r = systemf("%s xv --no-same-owner -f tar1.tgz foo bar > tar1b.out 2> tar1b.err", testprog); in DEFINE_TEST() 68 testprog, reffile2); in DEFINE_TEST() 80 testprog, reffile3); in DEFINE_TEST() 88 testprog, reffile3); in DEFINE_TEST() 95 testprog, reffile3); in DEFINE_TEST() 102 testprog, reffile3); in DEFINE_TEST() 115 testprog, reffile4); in DEFINE_TEST()
|
| H A D | test_option_r.c | 45 r = systemf("%s cf archive.tar --format=ustar f1 >step1.out 2>step1.err", testprog); in DEFINE_TEST() 46 failure("Error invoking %s cf archive.tar f1", testprog); in DEFINE_TEST() 72 r = systemf("%s rf archive.tar --format=ustar f1 >step2.out 2>step2.err", testprog); in DEFINE_TEST() 73 failure("Error invoking %s rf archive.tar f1", testprog); in DEFINE_TEST() 98 r = systemf("%s rf archive.tar --format=ustar f2 >step3.out 2>step3.err", testprog); in DEFINE_TEST() 99 failure("Error invoking %s rf archive.tar f2", testprog); in DEFINE_TEST() 122 r = systemf("%s xf ../archive.tar >extract.out 2>extract.err", testprog); in DEFINE_TEST() 123 failure("Error invoking %s xf archive.tar", testprog); in DEFINE_TEST()
|
| H A D | test_option_a.c | 39 systemf("%s -acf test1.tar.Z f 2>test1.err", testprog)); in DEFINE_TEST() 50 systemf("%s -acf test2.taZ f 2>test2.err", testprog)); in DEFINE_TEST() 61 systemf("%s -acf test3.tar.Z.uu f 2>test3.err", testprog)); in DEFINE_TEST() 72 systemf("%s -acf test4.zip f 2>test4.err", testprog)); in DEFINE_TEST() 84 testprog)); in DEFINE_TEST() 97 testprog)); in DEFINE_TEST() 109 testprog)); in DEFINE_TEST()
|
| H A D | test_option_H_upper.c | 54 systemf("%s -cf test1/archive.tar -C in . >test1/c.out 2>test1/c.err", testprog)); in DEFINE_TEST() 57 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST() 68 systemf("%s -cf test2/archive.tar -H -C in . >test2/c.out 2>test2/c.err", testprog)); in DEFINE_TEST() 71 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST() 82 …temf("%s -cf test3/archive.tar -H -C in ld1 d1 link2 linkY >test2/c.out 2>test2/c.err", testprog)); in DEFINE_TEST() 85 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST()
|
| H A D | test_option_O_upper.c | 35 assertEqualInt(0, systemf("%s -cf archive.tar file1 file2", testprog)); in DEFINE_TEST() 41 systemf("%s -xf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 52 systemf("%s -xOf ../archive.tar file1 >test.out 2>test.err", testprog)); in DEFINE_TEST() 63 systemf("%s -xOf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 74 systemf("%s -tf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST() 83 systemf("%s -tOf ../archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST()
|
| H A D | test_option_L_upper.c | 54 systemf("%s -cf test1/archive.tar -C in . >test1/c.out 2>test1/c.err", testprog)); in DEFINE_TEST() 57 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST() 68 systemf("%s -cf test2/archive.tar -L -C in . >test2/c.out 2>test2/c.err", testprog)); in DEFINE_TEST() 71 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST() 82 …temf("%s -cf test3/archive.tar -L -C in ld1 d1 link2 linkY >test2/c.out 2>test2/c.err", testprog)); in DEFINE_TEST() 85 systemf("%s -xf archive.tar >c.out 2>c.err", testprog)); in DEFINE_TEST()
|
| H A D | test_strip_components.c | 49 testprog)); in DEFINE_TEST() 52 testprog)); in DEFINE_TEST() 56 "-f test.tar", testprog)); in DEFINE_TEST() 109 "d0/l1 d0/s1 d0/d1", testprog)); in DEFINE_TEST() 112 "d0/l1 d0/d1", testprog)); in DEFINE_TEST() 115 assertEqualInt(0, systemf("%s -x -C target2 -f test2.tar", testprog)); in DEFINE_TEST()
|
| H A D | test_option_fflags.c | 76 r = systemf("%s -c --fflags -f fflags.tar f >fflags.out 2>fflags.err", testprog); in DEFINE_TEST() 80 r = systemf("%s -c --no-fflags -f nofflags.tar f >nofflags.out 2>nofflags.err", testprog); in DEFINE_TEST() 86 …gs --no-same-permissions --fflags -f fflags.tar >fflags_fflags.out 2>fflags_fflags.err", testprog); in DEFINE_TEST() 93 …flags_nofflags -p --no-fflags -f fflags.tar >fflags_nofflags.out 2>fflags_nofflags.err", testprog); in DEFINE_TEST() 100 …o-same-permissions --fflags -f nofflags.tar >nofflags_fflags.out 2>nofflags_fflags.err", testprog); in DEFINE_TEST() 107 …nofflags -p --no-fflags -f nofflags.tar >nofflags_nofflags.out 2>nofflags_nofflags.err", testprog); in DEFINE_TEST()
|
| /freebsd-13.1/contrib/libarchive/cpio/test/ |
| H A D | test_cmdline.c | 42 assert(0 != systemf("%s -i -Q <empty >1.out 2>1.err", testprog)); in DEFINE_TEST() 46 assert(0 != systemf("%s -if <empty >2.out 2>2.err", testprog)); in DEFINE_TEST() 50 assert(0 != systemf("%s -i -f <empty >3.out 2>3.err", testprog)); in DEFINE_TEST() 66 assert(0 != systemf("%s -i --n <empty >7.out 2>7.err", testprog)); in DEFINE_TEST() 74 assert(0 == systemf("%s -i <empty >9.out 2>9.err", testprog)); in DEFINE_TEST() 78 assert(0 == systemf("%s -o <empty >10.out 2>10.err", testprog)); in DEFINE_TEST() 81 assert(0 != systemf("%s -i -p <empty >11.out 2>11.err", testprog)); in DEFINE_TEST() 85 assert(0 != systemf("%s -p -i <empty >12.out 2>12.err", testprog)); in DEFINE_TEST() 89 assert(0 != systemf("%s -i -o <empty >13.out 2>13.err", testprog)); in DEFINE_TEST() 93 assert(0 != systemf("%s -o -i <empty >14.out 2>14.err", testprog)); in DEFINE_TEST() [all …]
|
| H A D | test_option_L_upper.c | 61 r = systemf(CAT " filelist | %s -pd copy >copy.out 2>copy.err", testprog); in DEFINE_TEST() 68 r = systemf(CAT " filelist | %s -pd -L copy-L >copy-L.out 2>copy-L.err", testprog); in DEFINE_TEST() 75 r = systemf(CAT " filelist | %s -o >archive.out 2>archive.err", testprog); in DEFINE_TEST() 76 failure("Error invoking %s -o ", testprog); in DEFINE_TEST() 82 r = systemf(CAT " .." SEP "archive.out | %s -i >unpack.out 2>unpack.err", testprog); in DEFINE_TEST() 84 failure("Error invoking %s -i", testprog); in DEFINE_TEST() 91 r = systemf(CAT " filelist | %s -oL >archive-L.out 2>archive-L.err", testprog); in DEFINE_TEST() 92 failure("Error invoking %s -oL", testprog); in DEFINE_TEST() 98 r = systemf(CAT " .." SEP "archive-L.out | %s -i >unpack-L.out 2>unpack-L.err", testprog); in DEFINE_TEST() 100 failure("Error invoking %s -i < archive-L.out", testprog); in DEFINE_TEST()
|
| H A D | test_0.c | 46 testprog); in DEFINE_TEST() 54 testprog); in DEFINE_TEST() 62 if (0 == systemf("%s --version >" DEV_NULL, testprog)) { in DEFINE_TEST() 64 } else if (0 == systemf("%s -W version >" DEV_NULL, testprog)) { in DEFINE_TEST() 70 testprog, testprog); in DEFINE_TEST()
|
| /freebsd-13.1/contrib/libarchive/cat/test/ |
| H A D | test_0.c | 41 failure("File %s does not exist?!", testprog); in DEFINE_TEST() 45 testprog); in DEFINE_TEST() 49 failure("%s is not executable?!", testprog); in DEFINE_TEST() 53 testprog); in DEFINE_TEST() 61 if (0 != systemf("%s --version >" DEV_NULL, testprog)) { in DEFINE_TEST() 62 failure("Unable to successfully run: %s --version\n", testprog); in DEFINE_TEST()
|