Home
last modified time | relevance | path

Searched refs:testdir (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/bin/sh/tests/expansion/
H A Dpathname1.024 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 Dpathname2.024 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 Dall.sh31 testdir=$(dirname "$script")
33 . "$testdir/../scripts/functions.sh"
106 exe="$testdir/../bin/$d"
131 extra_required=$(cat "$testdir/extra_required.txt")
149 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$exe" "$@" &
152 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$exe" "$@"
155 done < "$testdir/$d/all.txt"
159 sh "$testdir/stdin.sh" "$d" "$exe" "$@" &
162 sh "$testdir/stdin.sh" "$d" "$exe" "$@"
167 sh "$testdir/scripts.sh" "$d" "$extra" "$run_stack_tests" "$generate_tests" \
[all …]
H A Dstdin.sh34 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/$d/stdin2.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null
[all …]
H A Dtest.sh34 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"
85 exe="$testdir/../bin/$d"
125 "$d" "$testdir/$d/scripts/$t.$d" > "$name"
H A Dscripts.sh32 testdir=$(dirname "${script}")
34 . "$testdir/../scripts/functions.sh"
103 exe="$testdir/../bin/$d"
107 scriptdir="$testdir/$d/scripts"
117 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \
121 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \
H A Dscript.sh34 testdir=$(dirname "${script}")
36 . "$testdir/../scripts/functions.sh"
38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir}
60 scriptdir="$testdir/$d/scripts"
98 exe="$testdir/../bin/$d"
158 orig="$testdir/$name.txt"
193 printf '%s\n' "$halt" 2> /dev/null | "$d" "$s" | sed -n -f "$testdir/script.sed" > "$results"
H A Derrors.sh33 testdir=$(dirname "$script")
35 . "$testdir/../scripts/functions.sh"
37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir}
60 exe="$testdir/../bin/$d"
104 printf '%s\n' "$halt" 2> /dev/null | "$exe" "$@" -e "1+1" -f- -f "$testdir/$d/decimal.txt" 2> "$out…
112 for testfile in $testdir/$d/*errors.txt; do
H A Dhistory.sh32 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 Derror.sh31 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/contrib/bc/
H A Dbuild.pkg.rig706 testdir: str,
730 test sym(path.join(testdir, t)): bin
735 testdir: str = path.dirname(tgt_name);
736 calc: str = path.basename(testdir);
756 scriptdir: str = path.join(testdir, "scripts");
794 testdir: str,
799 scriptdir: str = path.join(testdir, "scripts");
822 testdir: str = path.dirname(tgt_name);
823 testdir2: str = path.dirname(testdir);
894 testdir: str,
[all …]
/freebsd/libexec/rtld-elf/tests/
H A Dld_library_pathfds.c34 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 Dld_preload_fds.c38 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/byacc/
H A Dmakefile.in42 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/scripts/
H A Dkaratsuba.py47 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/bc/tests/bc/
H A Dtimeconst.sh33 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 Dzfs_acl_chmod_001_pos.ksh126 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 Dsuid_write_to_file.c61 const char *testdir = getenv("TESTDIR"); in main() local
62 if (!testdir) { in main()
68 if (stat(testdir, &st) == -1 && mkdir(testdir, 0777) == -1) { in main()
74 snprintf(fpath, sizeof (fpath), "%s/%s", testdir, name); in main()
H A Dmmap_sync.c42 char *testdir = getenv("TESTDIR"); in main() local
43 if (!testdir) { in main()
50 if (stat(testdir, &st) != 0 && in main()
51 mkdir(testdir, 0777) != 0) { in main()
77 (void) snprintf(file, 512, "%s/msync_file", testdir); in main()
/freebsd/contrib/one-true-awk/
H A DREGRESS13 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 Dzfs_acl_tar_002_pos.ksh88 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 Dt_mtree.sh379 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 Dxc6 echo testdir/$i:
7 ind <testdir/$i
8 a.out -f testdir/$i >drek.c
11 cd testdir
H A Dyc6 echo testdir/$i:
7 ind <testdir/$i
8 a.out -f testdir/$i >drek.c
11 cd testdir
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_001_pos.c47 const char *testdir = getenv("TESTDIR"); in main() local
48 if (testdir == NULL) in main()
53 int fd = open(testdir, O_RDWR|O_TMPFILE, 0666); in main()
55 err(2, "open(%s)", testdir); in main()

123