Message114134
runtests.sh -x fails to work with more than two tests; for example, running:
$ ./runtests.sh -x test_httplib test_http_cookies test_dl
erroneously runs test_dl
By default, "sed -e s" only substitutes the first match - the invocations within runtests.sh need to add the trailing "g" flag to substitute all matches.
From "info sed":
The `s' command can be followed by zero or more of the following
FLAGS:
`g'
Apply the replacement to _all_ matches to the REGEXP, not just the
first.
Am attaching a patch.
(Seen with sed-4.2.1 on Fedora 13) |
|
Date |
User |
Action |
Args |
2010-08-17 16:29:37 | dmalcolm | set | recipients:
+ dmalcolm |
2010-08-17 16:29:37 | dmalcolm | set | messageid: <1282062577.36.0.157889963246.issue9628@psf.upfronthosting.co.za> |
2010-08-17 16:29:35 | dmalcolm | link | issue9628 messages |
2010-08-17 16:29:34 | dmalcolm | create | |
|