Raphael Geissert <atomo64+deb...@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 (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org