summaryrefslogtreecommitdiff
path: root/source3/script/tests
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-03-09 20:06:19 -0800
committerJeremy Allison <jra@samba.org>2010-03-09 20:06:19 -0800
commit41be39013b02a6813e87af9d6579a80b3ad5227f (patch)
tree5674e61a3282a969d7fa612a24f0d385d9da2947 /source3/script/tests
parent420e3b8553c9e721fba27dd64eb78b2c7105ce64 (diff)
downloadsamba-41be39013b02a6813e87af9d6579a80b3ad5227f.tar.gz
samba-41be39013b02a6813e87af9d6579a80b3ad5227f.tar.bz2
samba-41be39013b02a6813e87af9d6579a80b3ad5227f.zip
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.
Diffstat (limited to 'source3/script/tests')
-rwxr-xr-xsource3/script/tests/test_smbclient_s3.sh8
1 files changed, 4 insertions, 4 deletions
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