diff options
| author | Bhaskar Chowdhury <unixbhaskar@gmail.com> | 2025-07-09 08:27:59 +0530 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-07-14 11:55:17 +0900 |
| commit | 63989c7798be94f667880dbff18c22b5e769bb07 (patch) | |
| tree | 7da0556cb8802cbdbdca6bef18a9aa8034ec7000 | |
| parent | 347e9f5043c89695b01e66b3ed111755afcf1911 (diff) | |
tools: bootconfig: Regex enclosed with quotes to make syntax highlight proper
As suggested, changed the square brackets escaping to quote the whole Regex
class.
Link: https://lore.kernel.org/all/20250709030141.27483-1-unixbhaskar@gmail.com/
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
| -rwxr-xr-x | tools/bootconfig/test-bootconfig.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bootconfig/test-bootconfig.sh b/tools/bootconfig/test-bootconfig.sh index a2c484c243f5..32401bf61340 100755 --- a/tools/bootconfig/test-bootconfig.sh +++ b/tools/bootconfig/test-bootconfig.sh @@ -167,8 +167,8 @@ echo > $INITRD xpass $BOOTCONF -a $TEMPCONF $INITRD $BOOTCONF $INITRD > $OUTFILE -xfail grep -q val[[:space:]] $OUTFILE -xpass grep -q val2[[:space:]] $OUTFILE +xfail grep -q 'val[[:space:]]' $OUTFILE +xpass grep -q 'val2[[:space:]]' $OUTFILE echo "=== expected failure cases ===" for i in samples/bad-* ; do |
