]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Revert "ctdb-tests: Improve test portability"
authorMartin Schwenke <martin@meltin.net>
Wed, 22 Jul 2020 04:42:43 +0000 (14:42 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 22 Jul 2020 05:07:45 +0000 (05:07 +0000)
Fix missing Reviewed-by: tag.

This reverts commit 1f6556916e7f3a731d7d760fa6fd857e7f571541.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh

index 03cf4317a39839d81d4fb910aab0f74bdb363253..58633af973df0629dc5ec39d1bd1bccd02e76cc1 100755 (executable)
@@ -18,7 +18,7 @@ if [ -z "$out" ] ; then
     exit 0
 fi
 
-n=$(sort -u "$outfile" | wc -l | tr -d '[:space:]')
+n=$(sort -u "$outfile" | wc -l)
 if [ "$n" = 1 ] ; then
        echo "GOOD: All nodes have the same recovery lock setting"
 else