summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Hanxiao <chenhx.fnst@fujitsu.com>2024-05-15 17:21:33 +0800
committerZorro Lang <zlang@kernel.org>2024-05-25 13:57:33 +0800
commitbe5ec474127b16aced5a77dfbba5c5d200a921fd (patch)
tree5b405fff594096e6d530a72e00c1197b1e2891cf
parenta42f8a6be29e0857ad3ba3a2b6952913f56db877 (diff)
generic/742: require FIEMAP support
Some filesystems which don't support FIEMP fail on this test, e.g. FSTYP -- nfs PLATFORM -- xxxxxxxx MKFS_OPTIONS -- xxxx-xxx-xxx:/mnt/xfstests/scratch/nfs-server MOUNT_OPTIONS -- -o vers=4.2 -o context=system_u:object_r:root_t:s0 xxxx-xxx-xxx:/mnt/xfstests/scratch/nfs-server /mnt/xfstests/scratch/nfs-client generic/742 [failed, exit status 1]- output mismatch (see /var/lib/xfstests/results//generic/742.out.bad) --- tests/generic/742.out 2024-05-12 10:48:02.502761852 -0400 +++ /var/lib/xfstests/results//generic/742.out.bad 2024-05-12 21:10:48.412498322 -0400 @@ -1,2 +1,3 @@ QA output created by 742 Silence is golden +fiemap-fault: fiemap failed 95: Operation not supported So _notrun if FIEMAP isn't supported by $FSTYP. Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-xtests/generic/7421
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/742 b/tests/generic/742
index 43ebdbc6..aad57f2d 100755
--- a/tests/generic/742
+++ b/tests/generic/742
@@ -30,6 +30,7 @@ _require_test
_require_test_program "fiemap-fault"
_require_test_program "punch-alternating"
_require_xfs_io_command "fpunch"
+_require_xfs_io_command "fiemap"
dst=$TEST_DIR/$seq/fiemap-fault