summaryrefslogtreecommitdiff
path: root/source3/script/tests/runtests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source3/script/tests/runtests.sh')
-rw-r--r--source3/script/tests/runtests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/script/tests/runtests.sh b/source3/script/tests/runtests.sh
index a5dc3ecfb4..ddaf94e8ac 100644
--- a/source3/script/tests/runtests.sh
+++ b/source3/script/tests/runtests.sh
@@ -1,11 +1,11 @@
#!/bin/sh
-if [ "x$1" == "x" ]; then
+if [ "x$1" = "x" ]; then
echo "$0 <directory>"
exit 1
fi
-if [ $# == 2 ]; then
+if [ $# = 2 ]; then
testnum=$2
fi
@@ -49,7 +49,7 @@ export USERNAME PASSWORD
## verify that we were built with --enable-socket-wrapper
##
-if test "x`smbd -b | grep SOCKET_WRAPPER`" == "x"; then
+if test "x`smbd -b | grep SOCKET_WRAPPER`" = "x"; then
echo "***"
echo "*** You must include --enable-socket-wrapper when compiling Samba"
echo "*** in order to execute 'make test'. Exiting...."