From: Dan Streetman Date: Sat, 13 Jul 2019 17:29:48 +0000 (-0400) Subject: test: when stripping binaries, ignore case in suppressing "File format not recognized" X-Git-Tag: v243-rc1~104^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d391ee10a0d1ced296ebc2fc01ba43748f1e1413;p=thirdparty%2Fsystemd.git test: when stripping binaries, ignore case in suppressing "File format not recognized" The grep -v matches all lowercase, but "file" is captialized; just ignore case so it's suppressed for either all lowercase or capital File. --- diff --git a/test/test-functions b/test/test-functions index 17cb22be762..89fa1638451 100644 --- a/test/test-functions +++ b/test/test-functions @@ -642,7 +642,7 @@ strip_binaries() { ddebug "Strip binaries" find "$initdir" -executable -not -path '*/lib/modules/*.ko' -type f | \ xargs strip --strip-unneeded |& \ - grep -v 'file format not recognized' | \ + grep -vi 'file format not recognized' | \ ddebug }