diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-04 15:06:34 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-12 08:23:41 +0200 |
commit | 408c9a07e55572f272e38fc84174cf610a9c9ccb (patch) | |
tree | 43b2ac4dbc651a3e80ee32b1d4fd2388ae99c485 /test/test-functions | |
parent | 03abeb0baf7fe97c98a98d745b75c7d33e2f632e (diff) | |
download | systemd-408c9a07e55572f272e38fc84174cf610a9c9ccb.tar.gz |
test: filter out messages when stripping binaries
We would get an error for every script, which is just noise.
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 5 |
1 files changed, 4 insertions, 1 deletions
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() { |