blob: d14b70bbe3de10d1a11cd881fa19f5d938685d7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
TESTS=$*
PARENTTEST=${TEST}
if [ `id -u` != 0 ]
then
echo "#### Some tests require root privileges." >&2
echo "#### It is recommended that this be run as root." >&2
fi
for i in ${TESTS}; do
export TEST=$i
pushd $i >/dev/null
sh ./runtest.sh || exit 1
popd >/dev/null
done
if [ `id -u` != 0 ]
then
echo "#### Some tests required root privileges." >&2
echo "#### They have been tested for the appropriate failure." >&2
echo "#### It is recommended that this be run as root." >&2
fi
|