summaryrefslogtreecommitdiffhomepage
path: root/testsuite/du/du-s-works
diff options
context:
space:
mode:
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 0c870ceb5..534432cb0 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