- (if echo "Testing $${test}" >&2; \
- ../sst.py -r $${test}.log >/tmp/regress 2>&1; \
- then diff -u $${test}.chk /tmp/regress; \
- else echo "*** Nonzero return status on $${test}!"; exit 1; fi;) \
+ legend=$$(sed -n -e '/# Test/s//Test/p' <$${test}.log); \
+ ../sst -r "$${test}.log" | ./tapdiffer "$${legend}" "$${test}.chk"; \