summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2020-07-22 14:42:43 +1000
committerMartin Schwenke <martins@samba.org>2020-07-22 05:07:45 +0000
commitcf3b1fb39003e30c0c5e66d272da09022273238f (patch)
tree8e40008c8036af57aa221ad4d8f43897a88f83f2 /ctdb
parent979a6c8c5fe3891f8003de60e7d345029f905368 (diff)
downloadsamba-cf3b1fb39003e30c0c5e66d272da09022273238f.tar.gz
Revert "ctdb-tests: Improve test portability"
Fix missing Reviewed-by: tag. This reverts commit 1f6556916e7f3a731d7d760fa6fd857e7f571541. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh2
1 files changed, 1 insertions, 1 deletions
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