From: Zbigniew Jędrzejewski-Szmek Date: Thu, 4 Apr 2019 13:06:34 +0000 (+0200) Subject: test: filter out messages when stripping binaries X-Git-Tag: v243-rc1~564^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=408c9a07e55572f272e38fc84174cf610a9c9ccb;p=thirdparty%2Fsystemd.git test: filter out messages when stripping binaries We would get an error for every script, which is just noise. --- diff --git a/test/test-functions b/test/test-functions index 7179f70e46c..6016fd21ace 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() {