aboutsummaryrefslogtreecommitdiff
path: root/testsuite/du/du-l-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/du/du-l-works')
-rw-r--r--testsuite/du/du-l-works3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/du/du-l-works b/testsuite/du/du-l-works
index 6b150e0dd..426ee891b 100644
--- a/testsuite/du/du-l-works
+++ b/testsuite/du/du-l-works
@@ -1,8 +1,11 @@
# FEATURE: CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
+mkdir du.testdir
+cd du.testdir
dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
ln file1 file1.1
dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
test x"`busybox du -l .`" = x"144 ." \
-o x"`busybox du -l .`" = x"148 ." \
-o x"`busybox du -l .`" = x"152 ." \
+ -o x"`busybox du -l .`" = x"156 ."