From 16988c48a976e793a178c3baa7dce25ad6cd8d73 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Mon, 4 Apr 2016 21:29:51 +0000 Subject: [PATCH] simpler check --- urchin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urchin b/urchin index d76e205..8fec7d4 100755 --- a/urchin +++ b/urchin @@ -695,10 +695,10 @@ main() { done < "${test_arg_list}" finish=$(date +%s) - test $(cat "${urchin_tmp}"/log | wc -l) -gt 0 || { + if test $(cat "${urchin_tmp}"/log | wc -l) -eq 0; then echo 'No tests found' > /dev/stderr urchin_exit 1 - } + fi report_outcome "${root}" "${tap_format}" "${urchin_tmp}"/log "${start}" \ "${finish}"