[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian: fixup (output based) calculation of the results, now that...

Holger Levsen gitlab at salsa.debian.org
Wed Feb 20 15:47:54 GMT 2019


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
cc84a213 by Holger Levsen at 2019-02-20T15:47:47Z
reproducible Debian: fixup (output based) calculation of the results, now that the output has changed

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_compare_Debian_sha1sums.sh


Changes:

=====================================
bin/reproducible_compare_Debian_sha1sums.sh
=====================================
@@ -50,9 +50,9 @@ reproducible_packages=
 unreproducible_packages=
 
 cleanup_all() {
-	reproducible_packages=$(awk '/^REPRODUCIBLE:/{print $2}' $log)
+	reproducible_packages=$(awk '/ REPRODUCIBLE: /{print $2}' $log)
 	reproducible_count=$(echo $reproducible_packages | wc -w)
-	unreproducible_packages=$(awk '/^UNREPRODUCIBLE:/{print $2}' $log)
+	unreproducible_packages=$(awk '/ UNREPRODUCIBLE: /{print $2}' $log)
 	unreproducible_count=$(echo $unreproducible_packages | wc -w)
 
 	percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/cc84a213626d1bc9207aa5c5bec2d98a49ebb93f

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/cc84a213626d1bc9207aa5c5bec2d98a49ebb93f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190220/38eaf570/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list