]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix root test
authorKern Sibbald <kern@sibbald.com>
Mon, 29 Sep 2003 15:10:16 +0000 (15:10 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 29 Sep 2003 15:10:16 +0000 (15:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@715 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/dev-test-root
regress/tests/etc-test-root
regress/tests/lib-test-root

index a5a01c7400d6f27db5e47b78375d971930078a45..8f21e22db52d60beb0659dc6d6d5f6d1c0c72d4f 100755 (executable)
@@ -8,7 +8,7 @@ echo " "
 echo " === /dev save/restore test ==="
 echo " "
 echo " "
-UID=`/usr/bin/id -g`
+UID=`/usr/bin/id -u`
 if [ $UID != 0 ] ; then
    echo " "
    echo "You must be root to run this test."
index e5770209a350c06148f3c518a9ef7d8ddadfa947..6459026b1224fa3372ef88b624a22e3174af28db 100755 (executable)
@@ -8,7 +8,7 @@ echo " "
 echo " === /etc save/restore test ==="
 echo " "
 echo " "
-UID=`/usr/bin/id -g`
+UID=`/usr/bin/id -u`
 if [ $UID != 0 ] ; then
    echo " "
    echo "You must be root to run this test."
index 7e9c800445e4ae536949d23d601b8b66812864f0..60320fb39b6cb60c9bf36348f467ed67e8ce004b 100755 (executable)
@@ -8,7 +8,7 @@ echo " "
 echo " === /lib save/restore test ==="
 echo " "
 echo " "
-UID=`/usr/bin/id -g`
+UID=`/usr/bin/id -u`
 if [ $UID != 0 ] ; then
    echo " "
    echo "You must be root to run this test."