summaryrefslogtreecommitdiff
path: root/tests/cp/fiemap-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/fiemap-2')
-rwxr-xr-xtests/cp/fiemap-23
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cp/fiemap-2 b/tests/cp/fiemap-2
index a17076cc2..691ead255 100755
--- a/tests/cp/fiemap-2
+++ b/tests/cp/fiemap-2
@@ -20,7 +20,8 @@
print_ver_ cp
# Require a fiemap-enabled FS.
-fiemap_capable_ . \
+touch fiemap_chk # check a file rather than current dir for best coverage
+fiemap_capable_ fiemap_chk \
|| skip_ "this file system lacks FIEMAP support"
# Exercise the code that handles a file ending in a hole.