[lintian] 04/09: update fake flash for recent libmagic release
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch stretch
in repository lintian.
commit c2c7d62b61c65cf47f77b321911f0fb253f5a0ed
Author: Edward Betts <edward@4angle.com>
Date: Thu Jan 26 14:06:11 2017 +0000
update fake flash for recent libmagic release
The most recent release libmagic has a more precise definition for
the contents of a flash file.
---
debian/changelog | 4 ++++
t/tests/cruft-general-upstream/pre_upstream | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 9b9ef06..26f1079 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,10 @@ lintian (2.5.50.1) UNRELEASED; urgency=medium
changing on different architectures prior to the sed script is run
(assuming the sed script otherwise normalises the differences
correctly).
+ * t/tests/cruft-general-upstream/pre_upstream:
+ + [EB] Fix failing tests by making the fake flash object more convincing.
+ The most recent version of libmagic uses a more precise definition
+ of the data within a flash file.
* vendors/ubuntu/main/data/changes-file/known-dists:
+ [CW] Add zesty.
diff --git a/t/tests/cruft-general-upstream/pre_upstream b/t/tests/cruft-general-upstream/pre_upstream
index f9c3532..693d5a9 100755
--- a/t/tests/cruft-general-upstream/pre_upstream
+++ b/t/tests/cruft-general-upstream/pre_upstream
@@ -38,7 +38,7 @@ printf "MZ\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
# use old magic \001\000\000\000 part is optional but needed with old file
printf "ITSF\003\000\000\000\140\000\000\000\001\000\000\000" > "${dir}/fake-help-file.chm"
-printf "CWS\011" > "${dir}/fakeflash.swf"
+printf "CWS\011 x" > "${dir}/fakeflash.swf"
echo '//comment' > "${dir}/fake.min.js"
# Make python generate python bytecode files
# - more reliable than crafting them ourselves
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: