summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@canonical.com>2019-07-13 13:29:48 -0400
committerDan Streetman <ddstreet@canonical.com>2019-07-16 18:05:15 -0400
commitd391ee10a0d1ced296ebc2fc01ba43748f1e1413 (patch)
tree3397a3e7ec892aa15373586653df5aa7d54134ad /test
parentf85bc044e5c2d862d86b9dd0fcef5e8aa2928f06 (diff)
downloadsystemd-d391ee10a0d1ced296ebc2fc01ba43748f1e1413.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/test-functions2
1 files changed, 1 insertions, 1 deletions
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
}