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 /doc/version.texi
/gash/config.scm /gash/config.scm
/pre-inst-env /pre-inst-env
/test/*.1 /tests/*.1
/test/*.2 /tests/*.2
/test/*.log /tests/*.log
Makefile Makefile
Makefile.in Makefile.in
aclocal.m4 aclocal.m4

View File

@ -172,9 +172,9 @@ fail=0
total=0 total=0
for t in $tests; do for t in $tests; do
if [ "$PARSE" ]; then if [ "$PARSE" ]; then
scripts/gash -p "test/$t.sh" scripts/gash -p "tests/$t.sh"
else else
sh test.sh "test/$t" &> test/"$t".log sh test.sh "tests/$t" &> tests/"$t".log
fi fi
r=$? r=$?
total=$((total+1)) total=$((total+1))

View File

@ -6,7 +6,7 @@ DIFF=${DIFF-diff}
SHELL=${SHELL-scripts/gash} SHELL=${SHELL-scripts/gash}
t="$1" t="$1"
b=test/$(basename "$t" .sh) b=tests/$(basename "$t" .sh)
set +e set +e
timeout 1 $SHELL -e "$b".sh -s --long file0 file1 > "$b".1 2> "$b".2 timeout 1 $SHELL -e "$b".sh -s --long file0 file1 > "$b".1 2> "$b".2
r=$? r=$?

Some files were not shown because too many files have changed in this diff Show More