From d41dbb187f8fc5e6c3961725c98e246b0123a9c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 14 Sep 2009 01:38:03 +0100 Subject: [PATCH] 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. --- tests/dd/skip-seek-past-file | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3