diff options
author | Volker Lendecke <vl@samba.org> | 2014-11-27 22:04:58 +0100 |
---|---|---|
committer | Ralph Böhme <slow@samba.org> | 2014-11-28 10:24:05 +0100 |
commit | 3121d6adea90dbeb6ae1148b93db442387ec8cfb (patch) | |
tree | 9398111fd6204eb3d052a13b9ca7f2b7a22c2692 | |
parent | 907094c7fa73aaf2e9dda184ea4f0c1a606300bc (diff) | |
download | samba-3121d6adea90dbeb6ae1148b93db442387ec8cfb.tar.gz |
test: Fix samba3.blackbox.net.registry.check
On FreeBSD, "wc -l" returns whitespace. Cope with that.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Nov 28 10:24:06 CET 2014 on sn-devel-104
-rwxr-xr-x | source3/script/tests/test_net_registry_check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/test_net_registry_check.sh b/source3/script/tests/test_net_registry_check.sh index 1e3522d697c..566e63f5d40 100755 --- a/source3/script/tests/test_net_registry_check.sh +++ b/source3/script/tests/test_net_registry_check.sh @@ -55,7 +55,7 @@ regchecknrepair() regcheck checkerr "$EXPERR" - test "x$?" = "x$ERRCNT" || { + test "$?" -eq "$ERRCNT" || { echo "Expected $EXPERRCNT of error $EXPERR. Received $ERRCNT" return 1 } |