[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: correctly deal with (rare) situation when several diffoscope...

Holger Levsen gitlab at salsa.debian.org
Tue Mar 5 10:08:00 GMT 2019


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


Commits:
f9a5c2c8 by Holger Levsen at 2019-03-05T10:07:50Z
reproducible: correctly deal with (rare) situation when several diffoscope versions are available in one Debian suite

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

- - - - -


1 changed file:

- bin/diffoscope_distribution_test.sh


Changes:

=====================================
bin/diffoscope_distribution_test.sh
=====================================
@@ -97,7 +97,7 @@ check_whohas() {
 #
 for SUITE in 'experimental' 'unstable|sid'
 do
-	DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep " ${SUITE} "| awk '{print $3}' || true)
+	DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep " ${SUITE} "| awk '{print $3}' | sort -r | head -1 || true)
 
 	if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then
 		break



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/f9a5c2c83f63fe781ddbaacacf9117be782a1498
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/20190305/fceeb58e/attachment.html>


More information about the Qa-jenkins-scm mailing list