From 41be39013b02a6813e87af9d6579a80b3ad5227f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 9 Mar 2010 20:06:19 -0800 Subject: Fix the shell script in the root case. When run as root, make test now detects CAP_DAC_OVERRIDE being left on in error. Jeremy. --- source3/script/tests/test_smbclient_s3.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/script/tests/test_smbclient_s3.sh') diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index 84a3999f90..1ee829e2fc 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -137,7 +137,7 @@ test_read_only_dir() ## We can't do this as non-root. We always have rights to ## create the directory. ## - if [ "$USERID" != 0 ]; then + if [ "$USERID" != 0 ] ; then echo "skipping test_read_only_dir as non-root" true return @@ -147,7 +147,7 @@ test_read_only_dir() ## We can't do this with an encrypted connection. No credentials ## to set up the channel. ## - if [ "$ADDARGS" == "-e" ]; then + if [ "$ADDARGS" = "-e" ] ; then echo "skipping test_read_only_dir with encrypted connection" true return @@ -194,7 +194,7 @@ test_owner_only_file() ## We can't do this as non-root. We always have rights to ## read the file. ## - if [ "$USERID" != 0 ]; then + if [ "$USERID" != 0 ] ; then echo "skipping test_owner_only_file as non-root" true return @@ -204,7 +204,7 @@ test_owner_only_file() ## We can't do this with an encrypted connection. No credentials ## to set up the channel. ## - if [ "$ADDARGS" == "-e" ]; then + if [ "$ADDARGS" = "-e" ] ; then echo "skipping test_owner_only_file with encrypted connection" true return -- cgit