projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03abeb0
)
test: filter out messages when stripping binaries
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 4 Apr 2019 13:06:34 +0000
(15:06 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 12 Apr 2019 06:23:41 +0000
(08:23 +0200)
We would get an error for every script, which is just noise.
test/test-functions
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index 7179f70e46c2e63c97ddaf254fb211e10150dc32..6016fd21ace53b8d99fc727cf102cc2655f9a2b5 100644
(file)
--- 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() {