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:
parent
5e92afeb33
commit
d67f43fd50
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user