1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Test suite: Add an optimisation in the getvar test.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit d9105ea79df198a20c2bfe471c4793d1dbba886e)
This commit is contained in:
Martin Schwenke 2009-12-18 14:43:45 +11:00
parent 5e92afeb33
commit d67f43fd50

View File

@ -42,7 +42,7 @@ echo "$out" |
while read var x val ; do
try_command_on_node 0 "$CTDB getvar $var"
val2=$(echo $out | sed -e 's@.*[[:space:]]@@')
val2="${out#*= }"
if [ "$val" != "$val2" ] ; then
echo "MISMATCH on $var: $val != $val2"