Fix output matching.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>