From: Zbigniew Jędrzejewski-Szmek Date: Fri, 12 Jan 2018 13:31:49 +0000 (+0100) Subject: journalctl: make matching optionally case sensitive X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c687cd959206402ddc1032137566818f0fdd9beb;p=elogind.git journalctl: make matching optionally case sensitive Case sensitive or case insensitive matching can be requested using --case-sensitive[=yes|no]. Unless specified, matching is case sensitive if the pattern contains any uppercase letters, and case insensitive otherwise. This matches what forward-search does in emacs, and recently also --ignore-case in less. This works surprisingly well, because usually when one is wants to do case-sensitive matching, the pattern is usually camel-cased. In the less frequent case when case-sensitive matching is required with an all-lowercase pattern, --case-sensitive can be used to override the automatic logic. --- diff --git a/src/test/meson.build b/src/test/meson.build index 530163aaf..72fb33d9a 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -434,10 +434,6 @@ tests += [ [], []], - [['src/test/test-procfs-util.c'], - [], - []], - [['src/test/test-unaligned.c'], [], []],