Skip to content

Commit

Permalink
test: mmap_vlan_ins: wait before removing test interfaces
Browse files Browse the repository at this point in the history
Removing the test interfaces while the applications are still running may
cause a test application instance to not close properly.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
  • Loading branch information
MatiasElo authored and muvarov committed Mar 16, 2018
1 parent eca5df1 commit 3648873
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/linux-generic/test/mmap_vlan_ins/mmap_vlan_ins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ plat_mmap_vlan_ins${EXEEXT} pktiop0p1 pcap:out=${PCAP_OUT} \
plat_mmap_vlan_ins${EXEEXT} pcap:in=${PCAP_IN} pktiop1p0 \
01:02:03:04:05:06 01:08:09:0a:0b:0c

# Give both processes time to close before removing interfaces
sleep 4

rm -f ${PCAP_OUT}
cleanup_pktio_env

Expand Down

0 comments on commit 3648873

Please sign in to comment.