diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2016-05-20 13:31:37 -0400 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-05-23 17:02:14 +0300 |
commit | 44cd397e26187106ac4e203790ba6982bf348e3e (patch) | |
tree | c6610554287262f5066f0ea8c6a8ee662511c66c /example/switch | |
parent | e234fff9cb59670295f318371982d23086d78d16 (diff) |
example: fix pcap location assumption
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example/switch')
-rwxr-xr-x | example/switch/switch_run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/switch/switch_run.sh b/example/switch/switch_run.sh index 9b32973e5..3f8f9db36 100755 --- a/example/switch/switch_run.sh +++ b/example/switch/switch_run.sh @@ -33,7 +33,7 @@ fi for i in `seq 1 $NUM_RX_PORT`; do - if [ `stat -c %s pcapout${i}.pcap` -ne `stat -c %s udp64.pcap` ]; then + if [ `stat -c %s pcapout${i}.pcap` -ne `stat -c %s ${PCAP_IN}` ]; then echo "Error: Output file $i size not matching" RETVAL=1 fi |