diff options
author | Gerald Carter <jerry@samba.org> | 2006-01-18 04:44:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:09 -0500 |
commit | e2de656314c8d50bfd5f14b24826a2df962fe704 (patch) | |
tree | 85a6b4bd78aa9c092748a07aa394e99ce376089e /source3/script/tests/runtests.sh | |
parent | c42be9fd38556a1cc2e16c8d763a592beb863806 (diff) | |
download | samba-e2de656314c8d50bfd5f14b24826a2df962fe704.tar.gz samba-e2de656314c8d50bfd5f14b24826a2df962fe704.tar.bz2 samba-e2de656314c8d50bfd5f14b24826a2df962fe704.zip |
r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
(This used to be commit 19339a9510467b4b2cf3889bc6a08563cdc940f4)
Diffstat (limited to 'source3/script/tests/runtests.sh')
-rw-r--r-- | source3/script/tests/runtests.sh | 6 |
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...." |