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/[email protected]/ Signed-off-by: Bhaskar Chowdhury <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
1 parent 347e9f5 commit 63989c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)