summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/testdistcc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testdistcc.py b/test/testdistcc.py
index 0a5f0cd..d5b645d 100755
--- a/test/testdistcc.py
+++ b/test/testdistcc.py
@@ -1838,8 +1838,7 @@ class SyntaxError_Case(Compilation_Case):
def compile(self):
rc, msgs, errs = self.runcmd_unchecked(self.compileCmd())
self.assert_notequal(rc, 0)
- # XXX: Need to also handle "syntax error" from gcc-2.95.3
- self.assert_re_match(r'testtmp.c:1: .*error', errs)
+ self.assert_re_match(r'testtmp.c:1:.*error', errs)
self.assert_equal(msgs, '')
def runtest(self):