Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/syscall




To: source-changes-d%NetBSD.org@localhost

Subject: Re: CVS commit: src/tests/syscall

From: christos%astron.com@localhost (Christos Zoulas)

Date: Wed, 18 May 2011 12:30:24 +0000 (UTC)


In article <4DD39547.9010707%julipedia.org@localhost>,
Julio Merino  <jmmv%julipedia.org@localhost> wrote:
>On 5/18/11 4:15 AM, Christos Zoulas wrote:
>> Module Name: src
>> Committed By:        christos
>> Date:                Wed May 18 03:15:12 UTC 2011
>>
>> Modified Files:
>>      src/tests/syscall: t_pselect.c
>>
>> Log Message:
>> Don't depend on the atf timeout stuff, do it ourselves.
>
>Why?  Could atf do something better here?

1. It did not work. What units is the timeout anyway? I waited 2 seconds
   and 2 minutes and it did not fire.
2. I need to do some cleanup if there is a timeout (kill the stuck process).
   How do I register a cleanup function?
3. No matter how the timeout is done (unless you start a watcher process and
   kill -KILL the test process) it can break (masking signal mask, changing
   timers, catching signal).

christos



Follow-Ups:

Re: CVS commit: src/tests/syscall
From: Julio Merino


References:

Re: CVS commit: src/tests/syscall
From: Julio Merino




Prev by Date: Re: CVS commit: src/sys/arch

Next by Date: Re: CVS commit: src/share/mk

Previous by Thread: Re: CVS commit: src/tests/syscall

Next by Thread: Re: CVS commit: src/tests/syscall

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index