diff options
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh new file mode 100755 index 000000000..b4ca51b57 --- /dev/null +++ b/tests/run.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +. commands.sh + +echo +echo "------------------ Utils-linux-ng regression tests ------------------" +echo + +res=0 +count=0 +for ts in `ls ts-*`; do + $TS_TOPDIR/$ts + res=$(( $res + $? )) + count=$(( $count + 1 )) +done + +echo +echo "---------------------------------------------------------------------" +if [ $res -eq 0 ]; then + echo " All $count tests PASSED" +else + echo " $res tests of $count FAILED" +fi +echo "---------------------------------------------------------------------" + |