diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-12-22 14:26:41 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-01-15 08:18:37 +0200 |
commit | dd6e95fe6c371333fc421e6ac4335fde3b140b8e (patch) | |
tree | 9c02a874d51552a4c744f4b38fbb540ef4c285a1 /platform/linux-dpdk/test | |
parent | b73647ccab72e55188c36243e03707e7ab77f57e (diff) |
Port b28e406e3 "linux-gen: test: add missing exit to switch example pktio_env"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/test')
-rw-r--r-- | platform/linux-dpdk/test/example/switch/pktio_env | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-dpdk/test/example/switch/pktio_env b/platform/linux-dpdk/test/example/switch/pktio_env index 413588c1f..8daca3c3e 100644 --- a/platform/linux-dpdk/test/example/switch/pktio_env +++ b/platform/linux-dpdk/test/example/switch/pktio_env @@ -43,6 +43,7 @@ validate_result() do if [ `stat -c %s pcapout${i}.pcap` -ne `stat -c %s ${PCAP_IN}` ]; then echo "Error: Output file $i size not matching" + exit 1 fi rm -f pcapout${i}.pcap done |