summaryrefslogtreecommitdiff
path: root/ctdb/tests/simple/02_ctdb_tunables.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/simple/02_ctdb_tunables.sh')
-rwxr-xr-xctdb/tests/simple/02_ctdb_tunables.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/tests/simple/02_ctdb_tunables.sh b/ctdb/tests/simple/02_ctdb_tunables.sh
index e205da217e6..2e7a08b6f6f 100755
--- a/ctdb/tests/simple/02_ctdb_tunables.sh
+++ b/ctdb/tests/simple/02_ctdb_tunables.sh
@@ -23,7 +23,6 @@ sanity_check_output \
echo "Verifying all variable values using \"ctdb getvar\"..."
-echo "$out" |
while read var x val ; do
try_command_on_node 0 "$CTDB getvar $var"
@@ -33,7 +32,7 @@ while read var x val ; do
echo "MISMATCH on $var: $val != $val2"
exit 1
fi
-done
+done <"$outfile"
echo "GOOD: all tunables match"