Files
apfstests/071.out.32
T
Peng Haitao 80f2aaf701 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>
2012-03-31 20:14:06 +00:00

108 lines
3.2 KiB
Plaintext

QA output created by 071
meta-data=DDEV isize=XXX agcount=N, agsize=XXX blks
data = bsize=XXX blocks=XXX, imaxpct=PCT
= sunit=XXX swidth=XXX, unwritten=X
naming =VERN bsize=XXX
log =LDEV bsize=XXX blocks=XXX
realtime =RDEV extsz=XXX blocks=XXX, rtextents=XXX
Writing 512 bytes, offset is +0 (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1 byte (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 1 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 1 bytes (direct=false)
read 1/1 bytes at offset <OFFSET>
Writing 1FSB bytes, offset is +0 (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 512/1FSB bytes at offset <OFFSET>
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 513/1FSB bytes at offset <OFFSET>
=== Iterating, 2 remains
Writing 512 bytes, offset is +0 (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1 byte (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 1 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 1 bytes (direct=false)
read 1/1 bytes at offset <OFFSET>
Writing 1FSB bytes, offset is +0 (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 512/1FSB bytes at offset <OFFSET>
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 513/1FSB bytes at offset <OFFSET>
=== Iterating, 1 remains
Writing 512 bytes, offset is +0 (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1 byte (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 512 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 512 bytes (direct=false)
read 512/512 bytes at offset <OFFSET>
Writing 1 bytes, offset is minus 1FSB (direct=false)
wrote 512/512 bytes at offset <OFFSET>
Reading 1 bytes (direct=false)
read 1/1 bytes at offset <OFFSET>
Writing 1FSB bytes, offset is +0 (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 512/1FSB bytes at offset <OFFSET>
Writing 1FSB bytes, offset is minus 1FSB (direct=true)
wrote 512/512 bytes at offset <OFFSET>
Reading 1FSB bytes (direct=true)
read 513/1FSB bytes at offset <OFFSET>
=== Iterating, 0 remains