From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Vgw3F-0007Zk-Sw for ltp-list@lists.sourceforge.net; Thu, 14 Nov 2013 12:29:37 +0000 Date: Thu, 14 Nov 2013 13:29:22 +0100 From: chrubis@suse.cz Message-ID: <20131114122922.GA13348@rei> References: <1384395907-13886-1-git-send-email-penght@cn.fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1384395907-13886-1-git-send-email-penght@cn.fujitsu.com> Subject: Re: [LTP] [PATCH] sigaction:16-1: leave it untested on the Linux kernel less than 2.6.22 List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Peng Haitao Cc: ltp-list@lists.sourceforge.net 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 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