Move test/* to tests.
* test/*: Move these... * tests: ...to this directory. * check.sh, test.sh, .gitignore: Update references.
This commit is contained in:
parent
c5f2f56268
commit
fe7a322d4e
|
@ -27,9 +27,9 @@
|
|||
/doc/version.texi
|
||||
/gash/config.scm
|
||||
/pre-inst-env
|
||||
/test/*.1
|
||||
/test/*.2
|
||||
/test/*.log
|
||||
/tests/*.1
|
||||
/tests/*.2
|
||||
/tests/*.log
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
|
|
4
check.sh
4
check.sh
|
@ -172,9 +172,9 @@ fail=0
|
|||
total=0
|
||||
for t in $tests; do
|
||||
if [ "$PARSE" ]; then
|
||||
scripts/gash -p "test/$t.sh"
|
||||
scripts/gash -p "tests/$t.sh"
|
||||
else
|
||||
sh test.sh "test/$t" &> test/"$t".log
|
||||
sh test.sh "tests/$t" &> tests/"$t".log
|
||||
fi
|
||||
r=$?
|
||||
total=$((total+1))
|
||||
|
|
2
test.sh
2
test.sh
|
@ -6,7 +6,7 @@ DIFF=${DIFF-diff}
|
|||
SHELL=${SHELL-scripts/gash}
|
||||
|
||||
t="$1"
|
||||
b=test/$(basename "$t" .sh)
|
||||
b=tests/$(basename "$t" .sh)
|
||||
set +e
|
||||
timeout 1 $SHELL -e "$b".sh -s --long file0 file1 > "$b".1 2> "$b".2
|
||||
r=$?
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue