summaryrefslogtreecommitdiff
path: root/testsuite/du/du-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/du/du-works')
-rw-r--r--testsuite/du/du-works4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/du/du-works b/testsuite/du/du-works
index 4db684a..e320f1d 100644
--- a/testsuite/du/du-works
+++ b/testsuite/du/du-works
@@ -3,4 +3,6 @@
d=/bin
du "$d" > logfile.gnu
busybox du "$d" > logfile.bb
-cmp logfile.gnu logfile.bb
+cmp logfile.gnu logfile.bb && exit 0
+diff -u logfile.gnu logfile.bb
+exit 1