summaryrefslogtreecommitdiffstats
path: root/tools/regression/bin/sh/regress.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/bin/sh/regress.sh')
-rw-r--r--tools/regression/bin/sh/regress.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/regression/bin/sh/regress.sh b/tools/regression/bin/sh/regress.sh
index e2767d7..a6889af 100644
--- a/tools/regression/bin/sh/regress.sh
+++ b/tools/regression/bin/sh/regress.sh
@@ -1,7 +1,5 @@
# $FreeBSD$
-echo '1..42'
-
COUNTER=1
do_test() {
@@ -31,7 +29,9 @@ do_test() {
rm tmp.stdout tmp.stderr
}
-TESTS=$(find -s . -name "*.[01]")
+TESTS=$(find -Es . -regex ".*\.[0-9]+")
+printf "1..%d\n" $(echo ${TESTS} | wc -w)
+
for i in ${TESTS} ; do
do_test ${i} ${i##*.}
done
OpenPOWER on IntegriCloud