aboutsummaryrefslogtreecommitdiffstats
path: root/tests.sh
blob: 2fec7a0f03eda46d6c6a6a55f8543470c46adb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# $Id: tests.sh 22753 2007-02-22 13:01:24Z nanardon $

allerrs=0

for i in tests/*.sh; do
    /bin/sh ${i}
    err=$?
    if [ $err -ne 0 ]; then
        echo "${i}: $err test(s) failed"
        allerrs=$[ $allerrs + $err ]
    else
        echo "${i}: All test succefully passed"
    fi
done

exit $allerrs