071: make this test work as expected on Linux

When offset + length is overflow of xfs_io builtin pread and pwrite in linux,
the error message should be "Invalid argument".

In 32_bit, offset + length should cause pread and pwrite to error, So the
out should be OK.

The patch fix as following:
  - "pwrite64: Invalid argument" will be replaced with "pwrite64: File too large"
  - "pread64: Invalid argument" will be replaced with "read 0/xxx bytes at offset <OFFSET>"
  - delete _filter_xfs_io
  - add auto group
  - add 071.out.32

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Peng Haitao
2012-03-15 10:25:46 +08:00
committed by Christoph Hellwig
parent fff4359d8b
commit 80f2aaf701
4 changed files with 239 additions and 7 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ deprecated
068 other auto freeze dangerous
069 rw udf auto quick
070 attr udf auto quick
071 rw
071 rw auto
072 rw auto prealloc quick
073 copy auto
074 rw udf auto