[Reproducible-builds] [misc] 06/07: test-reproducibility: print the diffs if there's any errors

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Aug 31 19:09:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository misc.

commit e0cdf848306ccca1123ca97893a4f778ccc9edce
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sun Aug 31 18:32:42 2014 +0000

    test-reproducibility: print the diffs if there's any errors
---
 test-reproducibility/test-reproducibility | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test-reproducibility/test-reproducibility b/test-reproducibility/test-reproducibility
index 481ec51..4de4969 100755
--- a/test-reproducibility/test-reproducibility
+++ b/test-reproducibility/test-reproducibility
@@ -106,6 +106,11 @@ fi
 
 if [ "$ERRORS" ]; then
 	echo "ERRORS: $ERRORS"
+	diff -u "$TEST_REPRODUCIBILITY_TMPDIR/output-baseline" "$TEST_REPRODUCIBILITY_TMPDIR/output-different-time" || true
+	diff -u "$TEST_REPRODUCIBILITY_TMPDIR/output-baseline" "$TEST_REPRODUCIBILITY_TMPDIR/output-different-path" || true
+	diff -u "$TEST_REPRODUCIBILITY_TMPDIR/output-baseline" "$TEST_REPRODUCIBILITY_TMPDIR/output-different-user" || true
+	diff -u "$TEST_REPRODUCIBILITY_TMPDIR/output-baseline" "$TEST_REPRODUCIBILITY_TMPDIR/output-different-hostname" || true
+	diff -u "$TEST_REPRODUCIBILITY_TMPDIR/output-baseline" "$TEST_REPRODUCIBILITY_TMPDIR/output-different-kernel" || true
 	exit 1
 fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-builds mailing list