summaryrefslogtreecommitdiff
path: root/tests/du/basic
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-11 20:23:31 +0000
committerJim Meyering <jim@meyering.net>2003-03-11 20:23:31 +0000
commit4a3dc4c76ce4dd2e0d92c471dc68242933d0e03f (patch)
treed60ec1599a0aa3bc8083e67f6a13f741f6f5bfb2 /tests/du/basic
parent3850874bf05a6954702400162f62dd2ee47f6c85 (diff)
downloadcoreutils-4a3dc4c76ce4dd2e0d92c471dc68242933d0e03f.tar.xz
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.
Diffstat (limited to 'tests/du/basic')
-rwxr-xr-xtests/du/basic8
1 files changed, 6 insertions, 2 deletions
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