[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Fri Nov 28 02:25:04 MST 2014


The branch, master has been updated
       via  3121d6a test: Fix samba3.blackbox.net.registry.check
      from  907094c param: fix testparm to show hidden share defaults

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 3121d6adea90dbeb6ae1148b93db442387ec8cfb
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Nov 27 22:04:58 2014 +0100

    test: Fix samba3.blackbox.net.registry.check
    
    On FreeBSD, "wc -l" returns whitespace. Cope with that.
    
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Fri Nov 28 10:24:06 CET 2014 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/script/tests/test_net_registry_check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/test_net_registry_check.sh b/source3/script/tests/test_net_registry_check.sh
index 1e3522d..566e63f 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
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list