# BALR used as an EX subject saves ILC=2 plus CC/program mask and the
# address following EX, not BALR's ordinary RR linkage status.
src=here/'ex_balr_link01.tsds'
p=subprocess.run([str(exe),'--execute'],stdin=src.open(),stdout=subprocess.PIPE,stderr=subprocess.PIPE,text=True)
if p.returncode != 0: fail(f'ex_balr_link01: RC {p.returncode}, expected 0')
if p.stderr: fail(f'ex_balr_link01: unexpected stderr: {p.stderr!r}')
if ok: print('PASS ex_balr_link01')


