summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNicolas Schodet2012-10-10 14:22:11 +0200
committerNicolas Schodet2012-10-17 15:20:34 +0200
commitcc6089a56db7a9f96a460f774cdbd382d13dd298 (patch)
tree848fc68a6b6d25a907aa23fb2d0dc72365cdebad /common
parent2aef4a44ef3e4dd7f4fe8bfd4659f86e8165a4b6 (diff)
common/tests: fix directory line parsing
When using "::" notation, the first colon was taken as part of the directory name.
Diffstat (limited to 'common')
-rwxr-xr-xcommon/tests/run-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tests/run-test.pl b/common/tests/run-test.pl
index cbe844cd02..f6d9e535ca 100755
--- a/common/tests/run-test.pl
+++ b/common/tests/run-test.pl
@@ -67,7 +67,7 @@ while (<STDIN>)
while (@ungeted)
{
$_ = shift @ungeted;
- if (/^(.*):(:)?$/)
+ if (/^(.*?):(:)?$/)
{
# Directory line.
$dir = $1;