From: Kern Sibbald Date: Mon, 29 Sep 2003 15:10:16 +0000 (+0000) Subject: Fix root test X-Git-Tag: Release-1.32~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02c9de3ee8baca52fa06c2bc0d5b296fece99420;p=bacula%2Fbacula Fix root test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@715 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/dev-test-root b/regress/tests/dev-test-root index a5a01c7400..8f21e22db5 100755 --- a/regress/tests/dev-test-root +++ b/regress/tests/dev-test-root @@ -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." diff --git a/regress/tests/etc-test-root b/regress/tests/etc-test-root index e5770209a3..6459026b12 100755 --- a/regress/tests/etc-test-root +++ b/regress/tests/etc-test-root @@ -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." diff --git a/regress/tests/lib-test-root b/regress/tests/lib-test-root index 7e9c800445..60320fb39b 100755 --- a/regress/tests/lib-test-root +++ b/regress/tests/lib-test-root @@ -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."