Skip to content

Commit 408c9a0

Browse files
committed
test: filter out messages when stripping binaries
We would get an error for every script, which is just noise.
1 parent 03abeb0 commit 408c9a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test-functions

+4-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,10 @@ strip_binaries() {
560560
return 0
561561
fi
562562
ddebug "Strip binaries"
563-
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | xargs strip --strip-unneeded | ddebug
563+
find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | \
564+
xargs strip --strip-unneeded |& \
565+
grep -v 'file format not recognized' | \
566+
ddebug
564567
}
565568

566569
create_rc_local() {

0 commit comments

Comments
 (0)