add regtest/runtests.sh

This commit is contained in:
Stéphane Lesimple
2020-08-25 20:15:36 +02:00
parent 8e0664462e
commit d22fac49a3

9
regtest/runtests.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
cd "$(dirname "$0")"
allfailed=0
for i in rs*.bash; do
( DVDISASTER_SCSI_SIMULATED_NODELAY=1 ./$i ); ret=$?
allfailed=$((allfailed + ret))
done
echo Failed $allfailed tests
exit $allfailed