summaryrefslogtreecommitdiffhomepage
path: root/testsuite/du/du-k-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/du/du-k-works')
-rw-r--r--testsuite/du/du-k-works4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
index a52264945..229a948ee 100644
--- a/testsuite/du/du-k-works
+++ b/testsuite/du/du-k-works
@@ -1,4 +1,6 @@
+mkdir du.testdir
+cd du.testdir
dd if=/dev/zero of=file1 bs=1k count=64 2>/dev/null
dd if=/dev/zero of=file2 bs=1k count=16 2>/dev/null
test x"`busybox du -k .`" = x"80 ." \
- -o x"`busybox du -k .`" = x"88 ." \
+ -o x"`busybox du -k .`" = x"88 ."