From 02c9de3ee8baca52fa06c2bc0d5b296fece99420 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 29 Sep 2003 15:10:16 +0000 Subject: [PATCH] Fix root test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@715 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/dev-test-root | 2 +- regress/tests/etc-test-root | 2 +- regress/tests/lib-test-root | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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." -- 2.39.5