From 0d06305deb8d94dfddfef710004a500bf30fb1ff Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 8 Jul 2014 21:43:58 +0200 Subject: pdtest: Use new exception output. --- tests/pdtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pdtest b/tests/pdtest index f70b743..55718be 100755 --- a/tests/pdtest +++ b/tests/pdtest @@ -379,7 +379,7 @@ def run_tests(tests, fix=False): os.unlink(outfile) if op['type'] == 'exception' and 'error' in results[-1]: # filter out the exception we were looking for - reg = "^Error: srd: Protocol decoder instance %s: %s:" % (op['pd'], op['match']) + reg = "^Error: srd: %s:" % op['match'] if re.match(reg, results[-1]['error']): # found it, not an error results[-1].pop('error') -- cgit v1.2.3-70-g09d2