/freebsd/bin/sh/tests/expansion/ |
H A D | pathname1.0 | 24 mkdir testdir testdir2 'testdir/*' 'testdir/?' testdir/a testdir/b testdir2/b 26 touch testf 'testdir/*/1' 'testdir/?/1' testdir/a/1 testdir/b/1 testdir2/b/.a 29 check 'testdir/b' 'testdir/b' 30 check 'testdir/c' 'testdir/c' 33 check '*' 'testdir testdir2 testf' 34 check '*""' 'testdir testdir2 testf' 35 check '""*' 'testdir testdir2 testf' 36 check '*/' 'testdir/ testdir2/' 37 check 'testdir*/a' 'testdir/a' 38 check 'testdir*/b' 'testdir/b testdir2/b' [all …]
|
H A D | pathname2.0 | 24 mkdir testdir testdir2 'testdir/*' 'testdir/?' testdir/a testdir/b testdir2/b 26 touch testf 'testdir/*/1' 'testdir/?/1' testdir/a/1 testdir/b/1 testdir2/b/.a 28 check '*\/' 'testdir/ testdir2/' 29 check '"testdir/"*"/1"' 'testdir/*/1 testdir/?/1 testdir/a/1 testdir/b/1' 30 check '"testdir/"*"/"*' 'testdir/*/1 testdir/?/1 testdir/a/1 testdir/b/1' 31 check '"testdir/"*\/*' 'testdir/*/1 testdir/?/1 testdir/a/1 testdir/b/1' 32 check '"testdir"*"/"*"/"*' 'testdir/*/1 testdir/?/1 testdir/a/1 testdir/b/1'
|
/freebsd/contrib/bc/tests/ |
H A D | all.sh | 31 testdir=$(dirname "$script") 33 . "$testdir/../scripts/functions.sh" 115 exe="$testdir/../bin/$d" 140 extra_required=$(cat "$testdir/extra_required.txt") 158 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@" & 161 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@" 164 done < "$testdir/$d/all.txt" 168 sh "$testdir/stdin.sh" "$d" "$exe" "$@" & 171 sh "$testdir/stdin.sh" "$d" "$exe" "$@" 176 sh "$testdir/script [all...] |
H A D | stdin.sh | 34 testdir=$(dirname "$script") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 50 cat "$testdir/all.txt" 69 exe="$testdir/../bin/$d" 101 cat "$testdir/$d/stdin.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null 102 checktest "$d" "$?" "stdin" "$testdir/$d/stdin_results.txt" "$out" 107 cat "$testdir/$d/stdin1.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null 108 checktest "$d" "$?" "stdin1" "$testdir/$d/stdin1_results.txt" "$out" 110 cat "$testdir/ [all...] |
H A D | test.sh | 34 testdir=$(dirname "$script") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 50 cat "$testdir/all.txt" 67 name="$testdir/$d/$t.txt" 68 results="$testdir/$d/${t}_results.txt" 94 exe="$testdir/../bin/$d" 134 "$d" "$testdir/$d/scripts/$t.$d" > "$name"
|
H A D | read.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 49 cat "$testdir/all.txt" 68 exe="$testdir/../bin/$d" 72 name="$testdir/$d/read.txt" 73 results="$testdir/$d/read_results.txt" 74 errors="$testdir/$d/read_errors.txt"
|
H A D | scripts.sh | 32 testdir=$(dirname "${script}") 34 . "$testdir/../scripts/functions.sh" 112 exe="$testdir/../bin/$d" 116 scriptdir="$testdir/$d/scripts" 126 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \ 130 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \
|
H A D | script.sh | 34 testdir=$(dirname "${script}") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 60 scriptdir="$testdir/$d/scripts" 107 exe="$testdir/../bin/$d" 167 orig="$testdir/$name.txt" 202 printf '%s\n' "$halt" 2> /dev/null | "$d" "$s" | sed -n -f "$testdir/script.sed" > "$results"
|
H A D | errors.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 60 exe="$testdir/../bin/$d" 106 printf '%s\n' "$halt" 2> /dev/null | "$exe" "$@" -e "1+1" -f- -f "$testdir/$d/decimal.txt" 2> "$out" > /dev/null 114 for testfile in $testdir/$d/*errors.txt; do
|
H A D | history.sh | 32 testdir=$(dirname "$script") 34 . "$testdir/../scripts/functions.sh" 85 exe="$testdir/../bin/$d" 99 idx=$("$py" "$testdir/history.py" "$d" -a) 113 "$py" "$testdir/history.py" "$d" "$i" "$exe" "$@"
|
H A D | other.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 66 exe="$testdir/../bin/$d" 207 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/misc1.txt" > "$multiline_expr_out" 210 checktest "$d" "$err" "multiline comment in expression file" "$testdir/bc/misc1_results.txt" \ 216 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/errors/05.txt" 2> "$multiline_expr_out" 226 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/strings.txt" > "$multiline_expr_out" 229 checktest "$d" "$err" "multiline string in expression file" "$testdir/bc/strings_results.txt" \ 235 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/b [all...] |
H A D | error.sh | 31 testdir=$(dirname "$script") 33 . "$testdir/../scripts/functions.sh" 35 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 66 testfile="$testdir/$d/errors/$t" 70 exe="$testdir/../bin/$d"
|
/freebsd/libexec/rtld-elf/tests/ |
H A D | ld_library_pathfds.c | 34 int testdir; member 89 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.testdir) > 0); in ATF_TC_BODY() 104 files.testdir, files.etc) > 0); in ATF_TC_BODY() 119 files.root, files.testdir, files.usr) > 0); in ATF_TC_BODY() 134 files.root, files.testdir) > 0); in ATF_TC_BODY() 160 dp->testdir = opendir_fd(atf_tc_get_config_var(tc, "srcdir")); in setup() 161 ATF_REQUIRE(dp->testdir >= 0); in setup() 163 (dp->binary = openat(dp->testdir, TARGET_ELF_NAME, O_RDONLY)) >= 0); in setup()
|
H A D | ld_preload_fds.c | 38 int testdir; in setup() local 40 testdir = opendir_fd(atf_tc_get_config_var(tc, "srcdir")); in setup() 41 ATF_REQUIRE(testdir >= 0); in setup() 43 binaryfd = openat(testdir, TARGET_ELF_NAME, O_RDONLY); in setup() 45 libraryfd = openat(testdir, TARGET_LIBRARY, O_RDONLY); in setup() 48 close(testdir); in setup()
|
/freebsd/contrib/bc/scripts/ |
H A D | karatsuba.py | 47 testdir = os.path.dirname(script) variable 49 if testdir == "": 50 testdir = os.getcwd() variable 86 exe = testdir + "/bin/bc" 116 p = run([ "{}/../configure.sh".format(testdir), "-O3" ], flags) 161 p = run([ "{}/../configure.sh".format(testdir), "-O3", "-k{}".format(i) ], config_env) 180 cmd = [ "{}/../tests/test.sh".format(testdir), "bc", test, "0", "0", exe ] 194 cmd = [ "{}/../tests/script.sh".format(testdir), "bc", script + ".bc", 214 cmd = [ exe, "{}/../tests/bc/power.txt".format(testdir) ]
|
/freebsd/contrib/byacc/ |
H A D | makefile.in | 42 testdir = $(srcdir)/test 139 - rm -f $(testdir)/yacc/test-* $(testdir)/btyacc/test-* 152 @FGREP="$(FGREP)" $(SHELL) $(testdir)/run_test.sh $(testdir) 156 @FGREP="$(FGREP)" $(SHELL) $(testdir)/run_make.sh $(testdir) 160 @FGREP="$(FGREP)" $(SHELL) $(testdir)/run_lint.sh $(testdir)
|
/freebsd/contrib/bc/tests/bc/ |
H A D | timeconst.sh | 33 testdir=$(dirname "$script") 35 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir/..} 48 . "$testdir/../../scripts/functions.sh" 56 timeconst="$testdir/scripts/timeconst.bc" 65 bc="$testdir/../../bin/bc"
|
/freebsd/tests/sys/cddl/zfs/tests/acl/trivial/ |
H A D | zfs_acl_chmod_001_pos.ksh | 126 log_must usr_exec $MKDIR $testdir 127 log_must test_chmod_mapping $testdir 133 log_must usr_exec $CHMOD A+${acl} $testdir 137 log_must test_chmod_mapping $testdir 143 log_must usr_exec $RM -rf $testdir
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | suid_write_to_file.c | 60 const char *testdir = getenv("TESTDIR"); in main() local 61 if (!testdir) { in main() 67 if (stat(testdir, &st) == -1 && mkdir(testdir, 0777) == -1) { in main() 73 snprintf(fpath, sizeof (fpath), "%s/%s", testdir, name); in main()
|
H A D | mmap_sync.c | 41 char *testdir = getenv("TESTDIR"); in main() local 42 if (!testdir) { in main() 49 if (stat(testdir, &st) != 0 && in main() 50 mkdir(testdir, 0777) != 0) { in main() 76 (void) snprintf(file, 512, "%s/msync_file", testdir); in main()
|
/freebsd/contrib/one-true-awk/ |
H A D | REGRESS | 13 if [ -d testdir ] 18 echo extracting testdir 21 echo $0: No testdir directory and no awktest.tar to extract it from! >&2 25 cd testdir
|
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_tar_002_pos.ksh | 88 log_note "Create a file: $testfile, and directory: $testdir, in zfs filesystem. " \ 98 log_must usr_exec $MKDIR $testdir 101 log_must usr_exec $RUNAT $testdir $CP $MYTESTFILE attr.0 107 log_must usr_exec $CHMOD ${ops[0]} $testdir 117 for obj in $testfile $testdir; do
|
/freebsd/contrib/netbsd-tests/usr.sbin/mtree/ |
H A D | t_mtree.sh | 379 mkdir testdir 380 cd testdir 422 mkdir testdir 424 touch testdir/bar 425 mtree -c -p testdir > mtree1.spec 431 rm -f testdir/bar 432 ln -s foo testdir/bar 434 chown -h operator testdir/bar 435 mtree -c -p testdir > mtree2.spec
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | xc | 6 echo testdir/$i: 7 ind <testdir/$i 8 a.out -f testdir/$i >drek.c 11 cd testdir
|
H A D | yc | 6 echo testdir/$i: 7 ind <testdir/$i 8 a.out -f testdir/$i >drek.c 11 cd testdir
|