The test which checks for an error message when injecting Makefile fails on newer distros because they return the error string invalid ELF header which the test does not expect. This patch checks just the start of the error string so that both old and new behavior are passing, while still failing on other unexpected error messages.
Ubuntu 18.04 doesn't have this problem, which is why the CI testing hasn't picked it up yet.
The test which checks for an error message when injecting
Makefile
fails on newer distros because they return the error stringinvalid ELF header
which the test does not expect. This patch checks just the start of the error string so that both old and new behavior are passing, while still failing on other unexpected error messages.Ubuntu 18.04 doesn't have this problem, which is why the CI testing hasn't picked it up yet.