mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-27 20:14:02 +08: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:
parent
cca83fafa6
commit
d41dbb187f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user