[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: recognize up2date diffoscope on Arch Linux correctly

Holger Levsen gitlab at salsa.debian.org
Sat Feb 16 14:06:00 GMT 2019


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


Commits:
fbff602d by Holger Levsen at 2019-02-16T14:05:48Z
reproducible: recognize up2date diffoscope on Arch Linux correctly

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

- - - - -


1 changed file:

- bin/diffoscope_distribution_test.sh


Changes:

=====================================
bin/diffoscope_distribution_test.sh
=====================================
@@ -78,8 +78,11 @@ check_whohas() {
 		echo "Fail: diffoscope in $DISTRIBUTION: $DIFFOSCOPE_IN_WHOHAS"
 		send_irc_warning "It seems diffoscope $DIFFOSCOPE_IN_DEBIAN is not available on $DISTRIBUTION, which only has $DIFFOSCOPE_IN_WHOHAS."
 		exit 0
+	elif [ "${DIFFOSCOPE_IN_DEBIAN}-1" = "$DIFFOSCOPE_IN_WHOHAS" ] ; then
+		# archlinux package version can greater than Debian: 52-1 vs 52
+		# workaround this above...
+		echo "Yay. diffoscope in Debian has the same version as $DISTRIBUTION has: $DIFFOSCOPE_IN_DEBIAN (Debian) and $DIFFOSCOPE_IN_WHOHAS ($DISTRIBUTION)"
 	else
-		# TODO: archlinux package version can greater than Debian: 52-1 vs 52
 		echo "diffoscope in Debian: $DIFFOSCOPE_IN_DEBIAN"
 		echo "diffoscope in $DISTRIBUTION: $DIFFOSCOPE_IN_WHOHAS"
 		echo



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/fbff602dadfb2690611c9230c6448fb0c7736070
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/20190216/13efd433/attachment.html>


More information about the Qa-jenkins-scm mailing list