mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
ctdb-tests: Add missing quotes in test output
These should have caused test failure since commit
ef921bdbdb
. However, the test failure
occurred in a sub-shell, which covered the failure. So, add an error
exit if the sub-shell fails.
While here, add an error exit for another potential uncaught
sub-shell-related failure in a related test.
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
This commit is contained in:
parent
e819d55c4c
commit
18b0ea3e9a
@ -17,12 +17,12 @@ ctdb_get_1_public_address |
|
||||
ok <<EOF
|
||||
WARNING: Failed to delete policy routing rule
|
||||
Command "ip rule del from $ip pref $CTDB_PER_IP_ROUTING_RULE_PREF table ctdb.$ip" failed:
|
||||
Error: argument ctdb.$ip is wrong: invalid table ID
|
||||
Error: argument ctdb.$ip is wrong: table id value is invalid
|
||||
Error: argument "ctdb.$ip" is wrong: invalid table ID
|
||||
Error: argument "ctdb.$ip" is wrong: table id value is invalid
|
||||
EOF
|
||||
|
||||
simple_test_event "releaseip" $dev $ip $bits
|
||||
}
|
||||
} || exit $?
|
||||
|
||||
|
||||
# there should be no routes
|
||||
|
@ -22,7 +22,7 @@ ctdb_get_1_public_address | {
|
||||
Removing ip rule for public address ${ip} for routing table ctdb.${ip}
|
||||
EOF
|
||||
simple_test_event "shutdown"
|
||||
}
|
||||
} || exit $?
|
||||
|
||||
ok_null
|
||||
simple_test_command diff -u "$_rt_orig" "$_rt_tables"
|
||||
|
Loading…
Reference in New Issue
Block a user