[med-svn] [Git][med-team/libzstd][master] 2 commits: Update d/patches/0015-Skip..., call dpkg-architecture for arch detection

Alexandre Mestiashvili gitlab at salsa.debian.org
Thu Jan 3 14:02:32 GMT 2019


Alexandre Mestiashvili pushed to branch master at Debian Med / libzstd


Commits:
d19ed610 by Alexandre Mestiashvili at 2019-01-03T13:47:07Z
Update d/patches/0015-Skip..., call dpkg-architecture for arch detection

Update patch order in series file

- - - - -
b9748bfc by Alexandre Mestiashvili at 2019-01-03T13:48:56Z
Update changelog

Gbp-Dch: Ignore

- - - - -


3 changed files:

- debian/changelog
- debian/patches/0015-Skip-dev-random-tests-on-hurd.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+libzstd (1.3.8+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add patch skipping tests failing on GNU/Hurd when writing to special files
+    such as /dev/zero or /dev/random
+
+ -- Alexandre Mestiashvili <mestia at debian.org>  Thu, 03 Jan 2019 14:47:31 +0100
+
 libzstd (1.3.8+dfsg-1) experimental; urgency=medium
 
   * Add .circleci to Files-Excluded


=====================================
debian/patches/0015-Skip-dev-random-tests-on-hurd.patch
=====================================
@@ -1,5 +1,7 @@
-Description: Skip for now tests failing on hurd with an unclear message:
- "Computer bought the farm"
+Description: Skip test failing on GNU/Hurd when writing on /dev/zero or
+ /dev/random. On different GNU/Hurd installations writing to either one or
+ another would fail. Currently writing to /dev/random results in the message
+ "Computer bought the farm" and exit status 1
  See also: https://github.com/facebook/zstd/issues/1116
 From: Alex Mestiashvili <mestia at debian.org>
 --- libzstd.orig/tests/playTests.sh
@@ -8,7 +10,7 @@ From: Alex Mestiashvili <mestia at debian.org>
  test ! -f tmp  # tmp should no longer be present
  $ZSTD -f -d --rm tmp.zst
  test ! -f tmp.zst   # tmp.zst should no longer be present
-+if [ "$DEBARCH" != 'hurd-i386' ]
++if [ "$(dpkg-architecture -qDEB_HOST_ARCH)" != 'hurd-i386' ]
 +then
  $ECHO "test : should quietly not remove non-regular file"
  $ECHO hello > tmp


=====================================
debian/patches/series
=====================================
@@ -1,5 +1,5 @@
 0006-Use-bash-for-test-script-portablitity.patch
 0008-Address-embedded-zlib.patch
 0013-skip-memory-greedy-tests.patch
-0015-Skip-dev-random-tests-on-hurd.patch
 0014-Reproducible-build.patch
+0015-Skip-dev-random-tests-on-hurd.patch



View it on GitLab: https://salsa.debian.org/med-team/libzstd/compare/a9613245943295e28679cc528ae9f6639013e493...b9748bfc6e5adc1cc46085693105948b0273c109

-- 
View it on GitLab: https://salsa.debian.org/med-team/libzstd/compare/a9613245943295e28679cc528ae9f6639013e493...b9748bfc6e5adc1cc46085693105948b0273c109
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/20190103/bca2344d/attachment-0001.html>


More information about the debian-med-commit mailing list