summaryrefslogtreecommitdiff
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-works8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/du/du-k-works b/testsuite/du/du-k-works
index 6c2c5d0..a522649 100644
--- a/testsuite/du/du-k-works
+++ b/testsuite/du/du-k-works
@@ -1,4 +1,4 @@
-d=/bin
-du -k "$d" > logfile.gnu
-busybox du -k "$d" > logfile.bb
-cmp logfile.gnu logfile.bb
+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 ." \