summaryrefslogtreecommitdiffhomepage
path: root/testsuite/du/du-m-works
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-12 15:59:32 +0200
commite82cf339e476126e4016e417aee3c6eb52c702c9 (patch)
treeaf480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/du/du-m-works
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/du/du-m-works')
-rw-r--r--testsuite/du/du-m-works6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuite/du/du-m-works b/testsuite/du/du-m-works
index 6e733c016..9fa7437ac 100644
--- a/testsuite/du/du-m-works
+++ b/testsuite/du/du-m-works
@@ -1,6 +1,4 @@
# FEATURE: CONFIG_FEATURE_HUMAN_READABLE
-d=/bin
-du -m "$d" > logfile.gnu
-busybox du -m "$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 -m .`" = x"1 ."