[med-svn] [Git][med-team/libzstd][master] Add patch skipping tests failing on hurd for an unclear reason
Alexandre Mestiashvili
gitlab at salsa.debian.org
Wed Jan 2 19:49:00 GMT 2019
Alexandre Mestiashvili pushed to branch master at Debian Med / libzstd
Commits:
a9613245 by Alexandre Mestiashvili at 2019-01-02T19:34:10Z
Add patch skipping tests failing on hurd for an unclear reason
For the details see: https://github.com/facebook/zstd/issues/1116
- - - - -
2 changed files:
- + debian/patches/0015-Skip-dev-random-tests-on-hurd.patch
- debian/patches/series
Changes:
=====================================
debian/patches/0015-Skip-dev-random-tests-on-hurd.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Skip for now tests failing on hurd with an unclear message:
+ "Computer bought the farm"
+ See also: https://github.com/facebook/zstd/issues/1116
+From: Alex Mestiashvili <mestia at debian.org>
+--- libzstd.orig/tests/playTests.sh
++++ libzstd/tests/playTests.sh
+@@ -206,6 +206,8 @@
+ 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' ]
++then
+ $ECHO "test : should quietly not remove non-regular file"
+ $ECHO hello > tmp
+ $ZSTD tmp -f -o "$DEVDEVICE" 2>tmplog > "$INTOVOID"
+@@ -214,6 +216,9 @@
+ $ZSTD tmp -f -o "$INTOVOID" 2>&1 | grep -v "Refusing to remove non-regular file"
+ $ECHO "test : --rm on stdin"
+ $ECHO a | $ZSTD --rm > $INTOVOID # --rm should remain silent
++else
++ $ECHO "\n**** This test on $DEBARCH fails with \"Computer bought the farm\" **** "
++fi
+ rm tmp
+ $ZSTD -f tmp && die "tmp not present : should have failed"
+ test ! -f tmp.zst # tmp.zst should not be created
=====================================
debian/patches/series
=====================================
@@ -1,4 +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
View it on GitLab: https://salsa.debian.org/med-team/libzstd/commit/a9613245943295e28679cc528ae9f6639013e493
--
View it on GitLab: https://salsa.debian.org/med-team/libzstd/commit/a9613245943295e28679cc528ae9f6639013e493
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/20190102/70866064/attachment-0001.html>
More information about the debian-med-commit
mailing list