tests: fix dd/skip-seek-past-file to work on ecryptfs

* tests/dd/skip-seek-past-file: Require sparse support
to ensure that when we're checking if we can create an
$OFF_T_MAX length file, that we don't actually allocate
any space.  This was an issue on ecryptfs and was reported
by Bert Wesarg.
This commit is contained in:
Pádraig Brady 2009-09-14 01:38:03 +01:00
parent cca83fafa6
commit d41dbb187f

View File

@ -22,7 +22,8 @@ if test "$VERBOSE" = yes; then
fi
. $srcdir/test-lib.sh
eval $(getlimits) #for OFF_T limits
require_sparse_support_ # for `truncate --size=$OFF_T_MAX`
eval $(getlimits) # for OFF_T limits
fail=0