mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user