summaryrefslogblamecommitdiffstats
path: root/tests/run.sh
blob: 275b687336b53bbd684a4311aa93798f8559fdd0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                                            

        
















                                                                            
#!/bin/bash

. commands.sh

echo
echo "------------------ Utils-linux-ng regression tests ------------------"
echo

rm -f *~

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