mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-28 21:24:26 +00:00
test.run: handle '*' wildcards
This commit is contained in:
parent
01cff3ce84
commit
a67b23eb2d
@ -273,6 +273,9 @@ proc query_expected_log_pattern { } {
|
|||||||
foreach char [list {[} {]} {(} {)} {.}] {
|
foreach char [list {[} {]} {(} {)} {.}] {
|
||||||
regsub -all "\\$char" $line "\\$char" line }
|
regsub -all "\\$char" $line "\\$char" line }
|
||||||
|
|
||||||
|
# replace wildcards by non-greedy regexp wildcards
|
||||||
|
regsub -all {\*} $line {.*?} line
|
||||||
|
|
||||||
lappend prefixed_lines "$line.*?"
|
lappend prefixed_lines "$line.*?"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user