diff --git a/tests/p_arpwatch/arpwatch_test.sh b/tests/p_arpwatch/arpwatch_test.sh index ebb2345..e382dd0 100755 --- a/tests/p_arpwatch/arpwatch_test.sh +++ b/tests/p_arpwatch/arpwatch_test.sh @@ -18,12 +18,13 @@ else fi # beginning and running test -arp -d $defgw arpwatch -sleep 2 +sleep 1 +arp -d $defgw +sleep 1 ping -q -i 0.25 -c 5 $defgw killall arpwatch - +sleep 1 grep -q $defgw $arpdat ret_val=$?