Re: [LTP] [PATCH] sigaction:16-1: leave it untested on the Linux kernel less than 2.6.22

chrubis
2013-11-14T12:29:37Z

Hi!
> As the Linux signal(7) said:
> POSIX semaphore interfaces: sem_wait(3) and sem_timedwait(3) (since Linux 2.6.22; beforehand, always failed with EINTR).
>
> So, on linux, we just leave this untested when the kernel version
> is less than 2.6.22.
>
> Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>

Again, I'm slightly against such hacks in the Open Posix Testsuite. The
testsuite purpose is to check POSIX compilance, if older Linux fails
because the implementaion is wrong users should see the failure.

Or at least the testcases shouldn't be skipped by default. If there is
enough interest in this feature we can add specific switch or make
target that skips tests that are known to fail on Linux. Skipping them
on default run is, in my opinion, wrong.