1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Test suite: Turn off strict host key checking in the SSH failover test.

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

(This used to be ctdb commit b7787255391eddef8458f81ff9b75d9116e2afd3)
This commit is contained in:
Martin Schwenke 2009-07-30 13:20:23 +10:00
parent 063bd6e278
commit 3d91b6442e

View File

@ -51,7 +51,7 @@ echo "Removing ${test_ip} from the local ARP table..."
arp -d $test_ip >/dev/null 2>&1 || true
echo "SSHing to ${test_ip} and running hostname..."
original_hostname=$(ssh $test_ip hostname)
original_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname)
[ $? -eq 0 ]
echo "Hostname is: ${original_hostname}"
@ -65,7 +65,7 @@ onnode 0 $CTDB_TEST_WRAPPER wait_until_node_has_status $test_node disabled
gratarp_sniff_wait_show
echo "SSHing to ${test_ip} and running hostname (again)..."
new_hostname=$(ssh $test_ip hostname)
new_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname)
[ $? -eq 0 ]
echo "Hostname is: ${new_hostname}"