tests/test-run-tests.py
changeset 33695 eeed23508383
parent 28917 f798ffe7cb08
child 33710 2e43c5cd57a7
--- a/tests/test-run-tests.py	Mon Jul 24 10:34:32 2017 +0200
+++ b/tests/test-run-tests.py	Tue Jul 18 00:12:44 2017 -0400
@@ -39,7 +39,8 @@
             and output.endswith(b'\n')), 'missing newline'
     assert not re.search(br'[^ \w\\/\r\n()*?]', expected + output), \
            b'single backslash or unknown char'
-    match = run_tests.TTest.linematch(expected, output)
+    test = run_tests.TTest('test-run-test.t', '.', '.')
+    match = test.linematch(expected, output)
     if isinstance(match, str):
         return 'special: ' + match
     elif isinstance(match, bytes):