From c4178aa78c855f53997efc64c17832c4069c3006 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: May 12 2012 20:04:34 +0000 Subject: fix for arpwatch test --- diff --git a/tests/p_arpwatch/arpwatch_test.sh b/tests/p_arpwatch/arpwatch_test.sh index b27b4a3..982b22e 100755 --- a/tests/p_arpwatch/arpwatch_test.sh +++ b/tests/p_arpwatch/arpwatch_test.sh @@ -15,12 +15,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=$?