This is similar to the previous commit, but for text output that is produced by some test. Signed-off-by: Uli Schlachter <psychon@znc.in>