summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-01-24 17:04:40 +0000
committerIan Lynagh <ian@well-typed.com>2013-01-24 17:04:40 +0000
commit70dc7123b5ca852ebac17b601c3da32e8f5a88e6 (patch)
tree1acf88a507ad4f883533db178d4be1fca82d9a65 /testsuite/driver
parentfb20a08e82ab5cb046694e3875c9d18aec0301a7 (diff)
downloadhaskell-70dc7123b5ca852ebac17b601c3da32e8f5a88e6.tar.gz
Don't allow '/' characters in test names
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index c265350caf..4868e6d788 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -645,7 +645,7 @@ def test (name, setup, func, args):
global allTestNames
if name in allTestNames:
framework_fail(name, 'duplicate', 'There are multiple tests with this name')
- if not re.match('^[a-zA-Z0-9][a-zA-Z0-9._/-]*$', name):
+ if not re.match('^[a-zA-Z0-9][a-zA-Z0-9._-]*$', name):
framework_fail(name, 'bad_name', 'This test has an invalid name')
myTestOpts = copy.copy(thisdir_testopts)