From 4a3dc4c76ce4dd2e0d92c471dc68242933d0e03f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 11 Mar 2003 20:23:31 +0000 Subject: Make the test larger than 64 bytes, so that we don't immediately disqualify file systems (e.g., NetApp) on which smaller files take up zero disk blocks. --- tests/du/basic | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/du/basic') diff --git a/tests/du/basic b/tests/du/basic index 69761c9bf..0aaf64687 100755 --- a/tests/du/basic +++ b/tests/du/basic @@ -20,8 +20,12 @@ mkdir -p $tmp || framework_failure=1 cd $tmp || framework_failure=1 mkdir -p a/b d d/sub || framework_failure=1 printf 'make-sure-the-file-is-non-empty\n' > a/b/F || framework_failure=1 -echo nonempty-file > d/1 -echo nonempty-file > d/sub/2 + +# Ensure that these files contain more than 64 bytes, so that we don't +# immediately disqualify file systems (e.g., NetApp) on which smaller +# files take up zero disk blocks. +seq 200 > d/1 +seq 200 > d/sub/2 if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 -- cgit v1.2.3-54-g00ecf