This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/15964] poll_map.exp testcase timeout on ARM


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]