From: Martin Schwenke Date: Wed, 22 Jul 2020 04:42:43 +0000 (+1000) Subject: Revert "ctdb-tests: Improve test portability" X-Git-Tag: talloc-2.3.2~1038 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf3b1fb39003e30c0c5e66d272da09022273238f;p=thirdparty%2Fsamba.git Revert "ctdb-tests: Improve test portability" Fix missing Reviewed-by: tag. This reverts commit 1f6556916e7f3a731d7d760fa6fd857e7f571541. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh b/ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh index 03cf4317a39..58633af973d 100755 --- a/ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh +++ b/ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh @@ -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