aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nsh_sfc/sfc_scripts/start_tcpdump.sh
diff options
context:
space:
mode:
authorFangyin Hu <fangyinx.hu@intel.com>2017-06-26 20:34:56 -0700
committerPeter Mikus <pmikus@cisco.com>2017-07-05 05:54:29 +0000
commit050ece3a87fbbad7d04e69ed951c48118edf0a89 (patch)
tree66ed8e4ede224e60e277cb366844f3edb1079539 /tests/nsh_sfc/sfc_scripts/start_tcpdump.sh
parenta097c8748051f82e36b3cc3049bf3e596c2252a4 (diff)
Change the bootstrap script file and test the CI-management.
Debug the NSH SFC functional test. Change the test cases and not use the tcpdump. Delete the unused code. Change the directory structure. Change-Id: I52486b9ba4b02e305f702ffc8cdb84e941cb18ff Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
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}