Skip to content

Commit

Permalink
disable test when SEEK_HOLE not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrens committed May 7, 2018
1 parent d1381b5 commit 6189c16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/zfs-tests/tests/functional/holes/setup.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@

. $STF_SUITE/include/libtest.shlib

if ! getholes /etc/hosts; then
log_unsupported "The kernel does not support SEEK_DATA / SEEK_HOLE"
fi

DISK=${DISKS%% *}
default_setup $DISK

0 comments on commit 6189c16

Please sign in to comment.