summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/INTEGRATION/simple/cluster.010.getrelock.sh')
-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 58633af973d..03cf4317a39 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)
+n=$(sort -u "$outfile" | wc -l | tr -d '[:space:]')
if [ "$n" = 1 ] ; then
echo "GOOD: All nodes have the same recovery lock setting"
else