public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Peng Haitao <penght@cn.fujitsu.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] sigaction:16-1: leave it untested on the Linux kernel less than 2.6.22
Date: Thu, 14 Nov 2013 13:29:22 +0100	[thread overview]
Message-ID: <20131114122922.GA13348@rei> (raw)
In-Reply-To: <1384395907-13886-1-git-send-email-penght@cn.fujitsu.com>

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.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2013-11-14 12:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14  2:25 [LTP] [PATCH] sigaction:16-1: leave it untested on the Linux kernel less than 2.6.22 Peng Haitao
2013-11-14  9:33 ` Jan Stancek
2013-11-14 12:29 ` chrubis [this message]
     [not found]   ` <187658148.31700134.1384433325925.JavaMail.root@redhat.com>
2013-11-14 12:55     ` chrubis
     [not found]       ` <5285EB6C.9000107@cn.fujitsu.com>
     [not found]         ` <5296D114.4070507@cn.fujitsu.com>
2013-11-28 14:15           ` chrubis
  -- strict thread matches above, loose matches on Subject: below --
2013-08-05  2:15 Wanlong Gao
2013-08-05  9:46 ` chrubis
     [not found]   ` <578718909.13087059.1375776716081.JavaMail.root@redhat.com>
2013-08-06  9:30     ` chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131114122922.GA13348@rei \
    --to=chrubis@suse.cz \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=penght@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox