]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
071: make this test work as expected on Linux
authorPeng Haitao <penght@cn.fujitsu.com>
Thu, 15 Mar 2012 02:25:46 +0000 (10:25 +0800)
committerChristoph Hellwig <hch@lst.de>
Sat, 31 Mar 2012 20:14:06 +0000 (20:14 +0000)
commit80f2aaf7011d5706ef52c93ada447d0b3cfc0b20
tree00b7a4afa52cf4aa90a387826dab2432d1fd6dee
parentfff4359d8b59896e96bc43cad8c600c9be5675ef
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>
071
071.out.32 [new file with mode: 0644]
071.out.64 [new file with mode: 0644]
group