Skip to content

Commit 63989c7

Browse files
unixbhaskarmhiramat
authored andcommitted
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>
1 parent 347e9f5 commit 63989c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/bootconfig/test-bootconfig.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ echo > $INITRD
167167

168168
xpass $BOOTCONF -a $TEMPCONF $INITRD
169169
$BOOTCONF $INITRD > $OUTFILE
170-
xfail grep -q val[[:space:]] $OUTFILE
171-
xpass grep -q val2[[:space:]] $OUTFILE
170+
xfail grep -q 'val[[:space:]]' $OUTFILE
171+
xpass grep -q 'val2[[:space:]]' $OUTFILE
172172

173173
echo "=== expected failure cases ==="
174174
for i in samples/bad-* ; do

0 commit comments

Comments
 (0)