diff --git a/test/test-functions b/test/test-functions index 7179f70e46..6016fd21ac 100644 --- a/test/test-functions +++ b/test/test-functions @@ -560,7 +560,10 @@ strip_binaries() { return 0 fi ddebug "Strip binaries" - find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | xargs strip --strip-unneeded | ddebug + find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | \ + xargs strip --strip-unneeded |& \ + grep -v 'file format not recognized' | \ + ddebug } create_rc_local() {