#!/bin/bash test_info() { cat </dev/null 2>&1 || true echo "Pinging ${test_ip}..." ping -q -n -c 1 $test_ip gratarp_sniff_start echo "Disabling node $test_node" try_command_on_node 1 $CTDB disable -n $test_node wait_until_node_has_status $test_node disabled gratarp_sniff_wait_show echo "Removing ${test_ip} from the local ARP table again..." arp -d $test_ip >/dev/null 2>&1 || true echo "Pinging ${test_ip} again..." ping -q -n -c 1 $test_ip