Loading debian/patches/0015-Skip-dev-random-tests-on-hurd.patch 0 → 100644 +25 −0 Original line number Diff line number Diff line 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@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 −0 Original line number Diff line number Diff line 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 Loading
debian/patches/0015-Skip-dev-random-tests-on-hurd.patch 0 → 100644 +25 −0 Original line number Diff line number Diff line 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@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 −0 Original line number Diff line number Diff line 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