summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-09-14 01:38:03 +0100
committerPádraig Brady <P@draigBrady.com>2009-09-14 14:22:02 +0100
commitd41dbb187f8fc5e6c3961725c98e246b0123a9c1 (patch)
tree09ffacaedbd1f9f8076b94b5a7dac01785c0246f /tests
parentcca83fafa69eb26db458714830b77498b88af8a4 (diff)
downloadcoreutils-d41dbb187f8fc5e6c3961725c98e246b0123a9c1.tar.xz
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dd/skip-seek-past-file3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dd/skip-seek-past-file b/tests/dd/skip-seek-past-file
index cb36d08d9..937f99e17 100755
--- a/tests/dd/skip-seek-past-file
+++ b/tests/dd/skip-seek-past-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