diff options
author | Chen Hanxiao <chenhx.fnst@fujitsu.com> | 2024-05-15 17:21:33 +0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-05-16 11:50:34 +0800 |
commit | 943aa4054f680f3cd2b570654a0532d293309ee3 (patch) | |
tree | b32bea857a4f3640f5c24149dd565f5238b3cbdb | |
parent | 9837971383733ad59ead121dcc4b13f89829d389 (diff) | |
download | xfstests-dev-patches-in-queue.tar.gz |
generic/742: require FIEMAP supportpatches-in-queue
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-x | tests/generic/742 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/742 b/tests/generic/742 index 43ebdbc63f..aad57f2d6d 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 |