From: Björn Jacke Date: Thu, 2 Dec 2010 09:29:18 +0000 (+0100) Subject: s4/ldb: fix shell syntax error in test script X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=a42c731a4bff181f61e29cd16464ea240f76eeeb;p=metze%2Fsamba%2Fwip.git s4/ldb: fix shell syntax error in test script --- diff --git a/source4/lib/ldb/tests/test-schema.sh b/source4/lib/ldb/tests/test-schema.sh index 2f10fb45e2a7..97841844db8c 100755 --- a/source4/lib/ldb/tests/test-schema.sh +++ b/source4/lib/ldb/tests/test-schema.sh @@ -19,12 +19,12 @@ $VALGRIND bin/ldbmodify $LDBDIR/tests/schema-tests/schema-mod-test-1.ldif || exi $VALGRIND bin/ldbmodify $LDBDIR/tests/schema-tests/schema-mod-test-2.ldif || exit 1 $VALGRIND bin/ldbmodify $LDBDIR/tests/schema-tests/schema-mod-test-3.ldif || exit 1 $VALGRIND bin/ldbmodify $LDBDIR/tests/schema-tests/schema-mod-test-4.ldif -if [ "$?" == "0" ]; then +if [ "$?" = "0" ]; then echo "test failed!" exit 1 fi $VALGRIND bin/ldbmodify $LDBDIR/tests/schema-tests/schema-mod-test-5.ldif -if [ "$?" == "0" ]; then +if [ "$?" = "0" ]; then echo "test failed!" exit 1 fi