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

Bug#515137: lintian: source-contains-prebuilt-binary false positive on files in test suite



Raphael Geissert <atomo64+debian@gmail.com> writes:
> Zack Weinberg wrote:

>> P: source-contains-prebuilt-binary tests/diff_a_binary_file/binary

>> This file is in the upstream testsuite; it's not a complete executable,
>> although it does have a valid ELF header (it appears to be the first
>> 1024 bytes of some random program one of the developers had lying
>> around).

> Why would a binary file be shipped? can't a simple hello world program
> be used, or something already installed on the system?

An example would be if, in Lintian, we wanted to test some of the binary
checks that are currently untested, like apparently-corrupted-elf-binary
or binary-file-compressed-with-upx.  Finding one that satisfies that
problem and including it in the test suite can be the path of least
resistance and a lot easier than trying to generate such a binary on the
fly.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: