From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with SMTP id p2NMlgVH120318 for ; Wed, 23 Mar 2011 17:47:47 -0500 Received: from ipmail04.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 11EEA140FBEA for ; Wed, 23 Mar 2011 15:50:31 -0700 (PDT) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id q7PAgmuRRDpYVCNK for ; Wed, 23 Mar 2011 15:50:31 -0700 (PDT) Date: Thu, 24 Mar 2011 09:50:29 +1100 From: Dave Chinner Subject: Re: [PATCH V2] xfstests 249: use -F option for xfs_io Message-ID: <20110323225029.GF26611@dastard> References: <4D8A1795.3080401@redhat.com> <4D8A19D4.3080807@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4D8A19D4.3080807@redhat.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Eric Sandeen Cc: xfs-oss On Wed, Mar 23, 2011 at 11:03:32AM -0500, Eric Sandeen wrote: > Test 249 was appearing to pass on ext4, but it wasn't really > exercising the test due to lack of "-F" in the xfs_io arguments. > > Without -F the files were created (oddly enough); neither pwrite > nor sendfile were executed, and the diff of the two (empty) > files passed, resulting in a passed test without testing anything. > > So add the -F, capture the output, and test the result of each > xfs_io invocation. Ok. > Also, when it fails, the diff output is huge. Make diff silent, > but describe the diff failure and exit. Excellent - I was going to suggest this myself given you were touching this test. > Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs