[Bug testsuite/15964] poll_map.exp testcase timeout on ARM
naresh.kamboju at linaro dot org
sourceware-bugzilla@sourceware.org
Wed Sep 18 06:58:00 GMT 2013
https://sourceware.org/bugzilla/show_bug.cgi?id=15964
--- Comment #3 from Naresh Kamboju <naresh.kamboju at linaro dot org> ---
Running ./systemtap.base/poll_map.exp ...
FAIL: poll_map (timeout)(In reply to David Smith from comment #2)
> Hmm, it is possible we need to kill the running systemtap when we get a
> timeout. Can you try the following (untested) patch?
>
> diff --git a/testsuite/systemtap.base/poll_map.exp
> b/testsuite/systemtap.base/poll_map.exp
> index 85687b6..228cc9d 100644
> --- a/testsuite/systemtap.base/poll_map.exp
> +++ b/testsuite/systemtap.base/poll_map.exp
> @@ -6,7 +6,10 @@ set ok 0
> expect {
> -timeout 400
> -ex "SUCCESS" { incr ok }
> - timeout { fail "$test (timeout)" }
> + timeout {
> + fail "$test (timeout)"
> + exec kill -INT -[exp_pid]
> + }
> eof { }
> }
> catch { close }
After applying above patch no difference in results.
Running ./systemtap.base/poll_map.exp ...
FAIL: poll_map (timeout)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list