]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: 075 112 redirect stderr of fsx to /dev/null too
authorEryu Guan <guaneryu@gmail.com>
Sun, 30 Oct 2011 02:25:55 +0000 (10:25 +0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Nov 2011 21:04:41 +0000 (21:04 +0000)
commit49fabdb4c13b7b11f8a4f1f593a6a909397d223b
tree109df4aacd434d174ff532136a5c30055150e724
parent73a57c642cdfa66090512c39e976018094d7201e
xfstests: 075 112 redirect stderr of fsx to /dev/null too

In commit c18bf42de9d5d5fa05025754df1ff63f2147bd12 a warning message
will be printed to stderr if filesystem doesn't support fallocate(2).
The warning message will fail these tests though fsx returns SUCCESS.

FSTYP         -- ext3
PLATFORM      -- Linux/i686 debian-dev 3.1.0+
MKFS_OPTIONS  -- /dev/sda3
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda3 /mnt/sda3

075 12s ... - output mismatch (see 075.out.bad)
--- 075.out     2011-10-28 21:35:41.872573530 +0800
+++ 075.out.bad 2011-10-30 10:31:02.607058029 +0800
@@ -4,6 +4,9 @@
 -----------------------------------------------
 fsx.0 : -d -N numops -S 0
 -----------------------------------------------
+fsx: main: filesystem does not support fallocate, disabling
+: Operation not supported

So redirect stderr of fsx to /dev/null too.

Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
075
112