[med-svn] [Git][med-team/libdisorder][master] 2 commits: Checksum compare only on amd64

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Wed Aug 18 18:44:28 BST 2021



Nilesh Patra pushed to branch master at Debian Med / libdisorder


Commits:
cf4d5ad3 by Nilesh Patra at 2021-08-18T23:10:31+05:30
Checksum compare only on amd64

- - - - -
fee8973c by Nilesh Patra at 2021-08-18T23:10:31+05:30
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,11 +1,12 @@
-libdisorder (0.0.2+git20130809.8062ee1-3) UNRELEASED; urgency=medium
+libdisorder (0.0.2+git20130809.8062ee1-3) unstable; urgency=medium
 
   * Team Upload.
   * Add autopkgtests
   * Declare compliance with policy 4.5.1
   * d/salsa-ci.yml: Disable lintian
+  * Checksum compare only on amd64
 
- -- Nilesh Patra <nilesh at debian.org>  Sat, 24 Jul 2021 23:45:51 +0530
+ -- Nilesh Patra <nilesh at debian.org>  Wed, 18 Aug 2021 23:08:22 +0530
 
 libdisorder (0.0.2+git20130809.8062ee1-2) unstable; urgency=medium
 


=====================================
debian/tests/run-unit-test
=====================================
@@ -12,7 +12,12 @@ cp -a ${CUR_DIR}/code/test/*.png $AUTOPKGTEST_TMP
 cd $AUTOPKGTEST_TMP
 
 ropy entropy.png > out
-echo "eca4d09c16c3592cfe7bff9b6b73b7ac out" >> checksum
-md5sum --check checksum
-rm -f out checksum
+if [ $(dpkg-architecture -qDEB_BUILD_ARCH) = "amd64" ]
+then
+	echo "eca4d09c16c3592cfe7bff9b6b73b7ac out" >> checksum
+	md5sum --check checksum
+	rm -f checksum
+fi
+[ -s out ] || exit 1
+rm -f ./out
 echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/libdisorder/-/compare/ce2fdae0784a0d7171a229bf47fec3541fd17112...fee8973cb92afd17716c6980ec926360fd2d6f72

-- 
View it on GitLab: https://salsa.debian.org/med-team/libdisorder/-/compare/ce2fdae0784a0d7171a229bf47fec3541fd17112...fee8973cb92afd17716c6980ec926360fd2d6f72
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/debian-med-commit/attachments/20210818/14dc4a1e/attachment-0001.htm>


More information about the debian-med-commit mailing list