From e82cf339e476126e4016e417aee3c6eb52c702c9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 12 May 2010 15:59:32 +0200 Subject: randomtest fixes Signed-off-by: Denys Vlasenko --- testsuite/du/du-h-works | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'testsuite/du/du-h-works') diff --git a/testsuite/du/du-h-works b/testsuite/du/du-h-works index a1b4b4905..c18433c29 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 ." -- cgit v1.2.3