[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: update fake flash for recent libmagic release



This is an automated email from the git hooks/post-receive script.

edward pushed a commit to branch master
in repository lintian.

commit 8babe053ba1484542e76bebd14a5cd4d3b38898c
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 4a7cf67..de72cc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,10 @@ lintian (2.5.51) 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: