From e04797f93c29016250b39b28a0e8593a32aaa85f Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Mon, 31 Jul 2017 11:55:51 +0200 Subject: [PATCH] Print "git diff" output when the checksums tests has failed (#306) In some cases this output is useful to identify the root of the problem. See https://github.com/postmarketOS/pmbootstrap/pull/303#issuecomment-319017197 --- test/check_checksums.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/check_checksums.py b/test/check_checksums.py index f1939866..704445d1 100755 --- a/test/check_checksums.py +++ b/test/check_checksums.py @@ -46,6 +46,8 @@ def check_checksums(package): if result == "": print("** The checksums are correct") else: + print(result) + result = check_output_always(['git', 'diff']).decode() print(result) print("** The checksums are not correct") exit(1)