summaryrefslogtreecommitdiffstats
path: root/test/test-functions
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@canonical.com>2019-07-13 19:29:48 +0200
committerDan Streetman <ddstreet@canonical.com>2019-07-17 00:05:15 +0200
commitd391ee10a0d1ced296ebc2fc01ba43748f1e1413 (patch)
tree3397a3e7ec892aa15373586653df5aa7d54134ad /test/test-functions
parenttest: ignore errors during test cleanup, so cleanup can finish (diff)
downloadsystemd-d391ee10a0d1ced296ebc2fc01ba43748f1e1413.tar.xz
systemd-d391ee10a0d1ced296ebc2fc01ba43748f1e1413.zip
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 '')
-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
}