aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nsh_sfc/sfc_scripts/start_tcpdump.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nsh_sfc/sfc_scripts/start_tcpdump.sh')
-rwxr-xr-xtests/nsh_sfc/sfc_scripts/start_tcpdump.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/nsh_sfc/sfc_scripts/start_tcpdump.sh b/tests/nsh_sfc/sfc_scripts/start_tcpdump.sh
deleted file mode 100755
index 46f8217e26..0000000000
--- a/tests/nsh_sfc/sfc_scripts/start_tcpdump.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-ROOTDIR=/tmp/openvpp-testing
-PWDDIR=$(pwd)
-
-cd ${ROOTDIR}/nsh_sfc_tests/sfc_scripts/
-sudo rm -f temp_packet.pcap
-
-sudo /usr/sbin/tcpdump -i $1 -c 1 -w temp_packet.pcap dst host $2 &
-
-if [ ! $? -eq 0 ]; then
- echo "Start the tcpdump failed!!!"
- exit 1
-fi
-
-cd ${PWDDIR}