From d391ee10a0d1ced296ebc2fc01ba43748f1e1413 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Sat, 13 Jul 2019 13:29:48 -0400 Subject: 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. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test-functions b/test/test-functions index 17cb22be76..89fa163845 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 } -- cgit v1.2.3