mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 11:27:29 +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 {[} {]} {(} {)} {.}] {
|
||||
regsub -all "\\$char" $line "\\$char" line }
|
||||
|
||||
# replace wildcards by non-greedy regexp wildcards
|
||||
regsub -all {\*} $line {.*?} line
|
||||
|
||||
lappend prefixed_lines "$line.*?"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user