From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 873847F4E for ; Sat, 12 Apr 2014 23:06:13 -0500 (CDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay2.corp.sgi.com (Postfix) with ESMTP id 5B183304075 for ; Sat, 12 Apr 2014 21:06:09 -0700 (PDT) Received: from sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id KyIjWHJpu5DBUp8f for ; Sat, 12 Apr 2014 21:06:05 -0700 (PDT) Message-ID: <534A0D2C.409@sandeen.net> Date: Sat, 12 Apr 2014 23:06:04 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH 1/3] generic/004: fix filtering of expected error message References: <1397343317-14669-1-git-send-email-tytso@mit.edu> <1397343317-14669-2-git-send-email-tytso@mit.edu> In-Reply-To: <1397343317-14669-2-git-send-email-tytso@mit.edu> 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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Theodore Ts'o , xfs@oss.sgi.com Cc: Christoph Hellwig , Ext4 Developers List On 4/12/14, 5:55 PM, Theodore Ts'o wrote: > The failure message goes to stderr, so we need to redirect stderr to > stdout before running sed. Heh, whoops. Reviewed-by: Eric Sandeen > Signed-off-by: "Theodore Ts'o" > Cc: Christoph Hellwig > --- > tests/generic/004 | 2 +- > tests/generic/004.out | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/generic/004 b/tests/generic/004 > index 406c29e..23ca349 100755 > --- a/tests/generic/004 > +++ b/tests/generic/004 > @@ -58,7 +58,7 @@ $XFS_IO_PROG -T \ > rm ${testfile} > > # test creating a r/o tmpfile. Should fail > -$XFS_IO_PROG -Tr ${TEST_DIR} -c "close" | _filter_test_dir > +$XFS_IO_PROG -Tr ${TEST_DIR} -c "close" 2>&1 | _filter_test_dir > > # success, all done > status=0 > diff --git a/tests/generic/004.out b/tests/generic/004.out > index b85c11c..527b2c2 100644 > --- a/tests/generic/004.out > +++ b/tests/generic/004.out > @@ -3,4 +3,4 @@ wrote 4096/4096 bytes at offset 0 > XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) > read 4096/4096 bytes at offset 0 > XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) > -/mnt/test: Invalid argument > +TEST_DIR: Invalid argument > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs