summaryrefslogtreecommitdiff
path: root/testsuite/du/du-h-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/du/du-h-works')
-rw-r--r--testsuite/du/du-h-works6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/du/du-h-works b/testsuite/du/du-h-works
index a1b4b49..c18433c 100644
--- a/testsuite/du/du-h-works
+++ b/testsuite/du/du-h-works
@@ -1,6 +1,4 @@
# FEATURE: CONFIG_FEATURE_HUMAN_READABLE
-d=/bin
-du -h "$d" > logfile.gnu
-busybox du -h "$d" > logfile.bb
-cmp logfile.gnu logfile.bb
+dd if=/dev/zero of=file bs=1M count=1 2>/dev/null
+test x"`busybox du -h .`" = x"1.0M ."