Move test/* to tests.

* test/*: Move these...
* tests: ...to this directory.
* check.sh, test.sh, .gitignore: Update references.
This commit is contained in:
Timothy Sample 2018-12-15 22:30:08 -05:00
parent c5f2f56268
commit fe7a322d4e
234 changed files with 7 additions and 7 deletions

6
.gitignore vendored
View File

@ -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

View File

@ -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))

View File

@ -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