diff --git a/test/run b/test/run index c7136100..209376a7 100755 --- a/test/run +++ b/test/run @@ -182,8 +182,10 @@ ui_out() { ;; *) read -r event <&4 - if [ ! "$1" = "$event" ] && [ $failed -eq 0 ]; then - printf "${red}$indent%s${none}\n" "$name" + if [ ! "$1" = "$event" ]; then + if [ $failed -eq 0 ]; then + printf "${red}$indent%s${none}\n" "$name" + fi printf "${indent} ${red}- %s\n${indent} ${green}+ %s${none}\n" "$1" "$event" failed=1 fi