Return-Path: Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1PGYbB-00053z-Ov for ltp-list@lists.sourceforge.net; Thu, 11 Nov 2010 14:58:01 +0000 Date: Thu, 11 Nov 2010 16:09:15 +0100 From: Cyril Hrubis Message-ID: <20101111150915.GD24599@saboteur.suse.cz> References: <4CDB6AEC.9090604@cn.fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [LTP] [POSIX][PATCH 0/4]Get rid of some test for aio_suspend. List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ltp-list-bounces@lists.sourceforge.net To: Garrett Cooper Cc: ltp-list@lists.sourceforge.net Hi! > > Some aio_suspend tests are redundantly, so we should remove them. > > > > Signed-off-by: Bian Naimeng > > > > ------ > > > > =A0.../conformance/interfaces/aio_suspend/6-1.c =A0 =A0 =A0 | =A0217 --= ---------------- > > =A0.../conformance/interfaces/aio_suspend/7-1.c =A0 =A0 =A0 | =A0242 --= ------------------ > > =A0.../conformance/interfaces/aio_suspend/8-1.c =A0 =A0 =A0 | =A0240 --= ----------------- > > =A0.../conformance/interfaces/aio_suspend/9-1.c =A0 =A0 =A0 | =A0242 --= ------------------ > > =A04 files changed, 0 insertions(+), 941 deletions(-) > = > This implies that the tests are broken and need to be fixed (see > assertions.xml for more details about what the tests need to test). Well this is a little more complicated, when looking on the assertions: 4-1.c On a timeout exit, aio_suspend shall return with an error. 7-1.c aio_suspend() shall return the value -1 and set errno to indicate error if it returns before at least one AIO operation have completed. These test may not be similar, but as the interrupt is generated by timeout in 7-1.c code for these two tests is similar (except for the test name). Sometimes I think that the people writing these test were payed per code line, so copy & paste was preffered solution. -- = Cyril Hrubis chrubis@suse.cz ---------------------------------------------------------------------------= --- Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list