From: Bhaskar Chowdhury Date: Wed, 9 Jul 2025 02:57:59 +0000 (+0530) Subject: tools: bootconfig: Regex enclosed with quotes to make syntax highlight proper X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63989c7798be94f667880dbff18c22b5e769bb07;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Masami Hiramatsu (Google) --- diff --git a/tools/bootconfig/test-bootconfig.sh b/tools/bootconfig/test-bootconfig.sh index a2c484c243f5d..32401bf613409 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