summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-04 15:06:34 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-12 08:23:41 +0200
commit408c9a07e55572f272e38fc84174cf610a9c9ccb (patch)
tree43b2ac4dbc651a3e80ee32b1d4fd2388ae99c485
parent03abeb0baf7fe97c98a98d745b75c7d33e2f632e (diff)
downloadsystemd-408c9a07e55572f272e38fc84174cf610a9c9ccb.tar.gz
test: filter out messages when stripping binaries
We would get an error for every script, which is just noise.
-rw-r--r--test/test-functions5
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() {