This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 780d15ced4188a38984c656a9fca58fdd5226735 (commit)
from afef45861d081c0722fff71992d45854923c0d0f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 780d15ced4188a38984c656a9fca58fdd5226735
Author: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Date: Mon Jun 4 21:35:43 2018 +0200
example/l2fw_simple: increase wait time
When using huge pages, the wrapper script that's used to run this test
will send a SIGINT signal too early to the signal, causing it to be
ignored by the application. This in turn cause the application to never
exit its main loop, which depends on handling this signal to set the
variable that terminates the loop.
Increasing the delay between starting the application and sending the
SIGINT signal fixes this issue.
This fixes https://bugs.linaro.org/show_bug.cgi?id=3879
Signed-off-by: Josep Puigdemont <josep.puigdemont(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/example/l2fwd_simple/l2fwd_simple_run.sh b/example/l2fwd_simple/l2fwd_simple_run.sh
index 10f4e6dc..18acb357 100755
--- a/example/l2fwd_simple/l2fwd_simple_run.sh
+++ b/example/l2fwd_simple/l2fwd_simple_run.sh
@@ -12,7 +12,7 @@ echo "using PCAP_IN = ${PCAP_IN}"
./odp_l2fwd_simple${EXEEXT} pcap:in=${PCAP_IN} pcap:out=pcapout.pcap \
02:00:00:00:00:01 02:00:00:00:00:02 &
-sleep 1
+sleep 2
kill -s SIGINT $!
wait $!
STATUS=$?
@@ -32,7 +32,7 @@ rm -f pcapout.pcap
./odp_l2fwd_simple${EXEEXT} null:0 null:1 \
02:00:00:00:00:01 02:00:00:00:00:02 &
-sleep 1
+sleep 2
kill -s SIGINT $!
wait $!
STATUS=$?
-----------------------------------------------------------------------
Summary of changes:
example/l2fwd_simple/l2fwd_simple_run.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--