From 149f2f6327a6a55c4ae9859b67f5e41160357d07 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Nov 18 2011 23:20:00 +0000 Subject: report the test function, clear up test artifacts --- diff --git a/tests/p_tcpdump/tcpdump_test.sh b/tests/p_tcpdump/tcpdump_test.sh index 4bc279e..ed9ba78 100755 --- a/tests/p_tcpdump/tcpdump_test.sh +++ b/tests/p_tcpdump/tcpdump_test.sh @@ -2,7 +2,7 @@ # Author: Christoph Galuschka # Athmane Madjoudj -t_Log "Running $0 - TCPdump test" +t_Log "Running $0 - TCPdump can capture ICMP from localhost" #Dumping 4 pings to loopback to file tcpdump -q -n -p -i lo -w /var/tmp/centos_test.pcap & @@ -17,6 +17,6 @@ WORKING=$( tcpdump -r /var/tmp/centos_test.pcap | grep -ci icmp ) if [ $WORKING == 8 ]; then ret_val=0; fi # Remove file afterwards -# /bin/rm /var/tmp/centos_test.pcap + /bin/rm /var/tmp/centos_test.pcap t_CheckExitStatus $ret_val