mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Don't run test suite as "root".
This commit is contained in:
@@ -13,7 +13,16 @@
|
|||||||
DIR=`dirname $0`
|
DIR=`dirname $0`
|
||||||
cd $DIR
|
cd $DIR
|
||||||
if test $? != 0 ; then
|
if test $? != 0 ; then
|
||||||
|
echo ""
|
||||||
echo "Unable to cd $DIR" >&2
|
echo "Unable to cd $DIR" >&2
|
||||||
|
echo ""
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test `id -u` = 0 ; then
|
||||||
|
echo ""
|
||||||
|
echo "*** Please do not run the test suite as root; it will fail."
|
||||||
|
echo ""
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user