1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

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
This commit is contained in:
Volker Lendecke 2014-11-27 22:04:58 +01:00 committed by Ralph Böhme
parent 907094c7fa
commit 3121d6adea

View File

@ -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
}