Files
apfstests/185.out
T
Alex Elder 580b0a9386 xfstests: use a common _filter_scratch function
There are a number of tests that use a shell function called
"filter_scratch" or "_filter_scratch" in order to have the actual
scratch device or mount point show up in test output with a symbolic
name.  There are two sets, each following a slightly different
convention.  Put a common _filter_scratch function definition in
"common.filter" and have all test scripts use that instead.
Choosing one of the two conventions meant that a few test output
files had to be changed.

In addition, add a call to _filter_scratch to test 185, and update
its output accordingly.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-10-22 09:13:06 -05:00

72 lines
3.0 KiB
Plaintext

QA output created by 185
=======================================================
Testing with length = 16k, offset = 0
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
roffp is 0, rlenp is 16384
Method: dmapi_punch
Running DMAPI punch hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '16384', sid = '0'
=======================================================
=======================================================
Testing with length = 1k, offset = 0
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
roffp is 0, rlenp is 1024
Method: dmapi_punch
Running DMAPI punch hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '0', length = '1024', sid = '0'
=======================================================
=======================================================
Testing with length = 1k, offset = 4k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
roffp is 4096, rlenp is 1024
Method: dmapi_punch
Running DMAPI punch hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '4096', length = '1024', sid = '0'
=======================================================
=======================================================
Testing with length = 4k, offset = 1k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
roffp is 1024, rlenp is 4096
Method: dmapi_punch
Running DMAPI punch hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '1024', length = '4096', sid = '0'
=======================================================
=======================================================
Testing with length = 1024k, offset = 512k
Method: xfsctl
Running Punch hole with xfsctl(XFS_IOC_FREESP64) on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
ok.
Method: dmapi_probe
Running DMAPI probe hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
roffp is 524288, rlenp is 1048576
Method: dmapi_punch
Running DMAPI punch hole on SCRATCH_MNT/dmapi/holly_file with settings:
offset = '524288', length = '1048576', sid = '0'
=======================================================