On May 21, 9:26pm, j...@julipedia.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/tests/syscall
| On 05/21/11 15:44, Christos Zoulas wrote: | > On May 21, 3:34pm, j...@netbsd.org (Julio Merino) wrote: | > -- Subject: Re: CVS commit: src/tests/syscall | > | > | On 5/21/11 3:19 PM, Christos Zoulas wrote: | > | > Revert the latest revision in the test and boot a kernel before the pselect | > | > changes, and see it getting stuck. | > | | > | Any particular revision? I have a machine that hasn't been updated for | > | at least two weeks; will that be enough? | > | > Oh sure. revision 1.1 | | Alright, so I just tried this. Downgraded the test to 1.1 and ensured | that my kernel does not have the fix (sys_select.c:1.30 and sys_sig.c:1.32). | | And the timeout of 2 seconds works just fine. | | Just to make sure we are talking about the same: you were running the | test program with atf-run; correct? If yes, what platform was this in? | (I'm testing with amd64.) Otherwise, this is expected behavior: tests | are not supposed to be executed without atf-run. No, I am running it directly. Programs could warn if they figured out that they are not running under atf-run. Print something like: not running under atf-run, timeouts will not work. Also it would be nice if programs when invoked with -l or something they would list all their tests, and if invoked with -a they would run all the tests. christos