[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: make this work with the "whohas" output for Arch Linux

Holger Levsen gitlab at salsa.debian.org
Fri Feb 8 20:27:07 GMT 2019


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


Commits:
6641ea21 by Holger Levsen at 2019-02-08T20:26:55Z
reproducible: make this work with the "whohas" output for Arch Linux

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

- - - - -


1 changed file:

- bin/diffoscope_distribution_test.sh


Changes:

=====================================
bin/diffoscope_distribution_test.sh
=====================================
@@ -68,7 +68,7 @@ check_github_macports() {
 check_whohas() {
 	# the following is "broken" (but good enough for now)
 	# as sort doesn't do proper version comparison
-	DIFFOSCOPE_IN_WHOHAS=$(whohas -d $DISTRIBUTION diffoscope | awk '{print $3}' | sort -u | tail -1)
+	DIFFOSCOPE_IN_WHOHAS=$(whohas -d $DISTRIBUTION diffoscope | grep -v "href=" | awk '{print $3}' | sort -u | tail -1)
 	echo
 	echo
 	if [ "$DIFFOSCOPE_IN_DEBIAN" = "$DIFFOSCOPE_IN_WHOHAS" ] ; then



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/6641ea21ba64251c51abfe559cfa95118802500d
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/20190208/c6d59812/attachment.html>


More information about the Qa-jenkins-scm mailing list