pd_cvg = []
for tclist in tests[pd]:
for tc in tclist:
- args = cmd.copy()
+ args = cmd[:]
if DEBUG > 1:
args.append('-d')
# Set up PD stack for this test.
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')