summaryrefslogtreecommitdiff
path: root/testsuite/du/du-s-works
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-12 15:59:32 +0200
committerDenys Vlasenko2010-05-12 15:59:32 +0200
commite82cf339e476126e4016e417aee3c6eb52c702c9 (patch)
treeaf480d4552cb63fcf8ee28600986e9c16c7adb6a /testsuite/du/du-s-works
parenta2215b98f7d65bc613b9c8f008d79672402c6a07 (diff)
downloadbusybox-e82cf339e476126e4016e417aee3c6eb52c702c9.zip
busybox-e82cf339e476126e4016e417aee3c6eb52c702c9.tar.gz
randomtest fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/du/du-s-works')
-rw-r--r--testsuite/du/du-s-works4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/du/du-s-works b/testsuite/du/du-s-works
index 0c870ce..534432c 100644
--- a/testsuite/du/du-s-works
+++ b/testsuite/du/du-s-works
@@ -3,4 +3,6 @@
d=/bin
du -s "$d" > logfile.gnu
busybox du -s "$d" > logfile.bb
-cmp logfile.gnu logfile.bb
+cmp logfile.gnu logfile.bb && exit 0
+diff -u logfile.gnu logfile.bb
+exit 1