diff --git a/tests/p_tcpdump/tcpdump_test.sh b/tests/p_tcpdump/tcpdump_test.sh index 52d5e72..d634a71 100755 --- a/tests/p_tcpdump/tcpdump_test.sh +++ b/tests/p_tcpdump/tcpdump_test.sh @@ -1,13 +1,14 @@ #!/bin/sh # Author: Christoph Galuschka +# Athmane Madjoudj t_Log "Running $0 - TCPdump test" #Dumping 4 pings to loopback to file -tcpdump -n -p -i lo -w /var/tmp/centos_test.pcap & +tcpdump -q -n -p -i lo -w /var/tmp/centos_test.pcap & # If we don't wait a short time, the first paket will be missed by tcpdump sleep 1 -ping -c 4 -i 0.25 127.0.0.1 +ping -q -c 4 -i 0.25 127.0.0.1 killall tcpdump # reading from file, for each ping we should see two pakets