From: Pádraig Brady
Date: Mon, 14 Sep 2009 00:38:03 +0000 (+0100) Subject: tests: fix dd/skip-seek-past-file to work on ecryptfs X-Git-Tag: v8.0~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d41dbb187f8fc5e6c3961725c98e246b0123a9c1;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/dd/skip-seek-past-file b/tests/dd/skip-seek-past-file index cb36d08d95..937f99e17a 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