From 4c8445657444d91c9f9726d713d061317ef73545 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Sun, 28 Feb 2016 18:41:00 +0000 Subject: [PATCH] formatting --- urchin | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/urchin b/urchin index de0b80b..12c9cb3 100755 --- a/urchin +++ b/urchin @@ -89,7 +89,7 @@ recurse() { TEST_SHELL="$4" for ignore in setup_dir teardown_dir setup teardown; do - if test "$potential_test" = $ignore; then + if test "$(basename "$potential_test")" = $ignore; then return fi done @@ -294,9 +294,10 @@ report_outcome() { ;; skip) if test -z "$the_shell"; then - the_shell='(File is not executable.)' + echo ' (File is not executable.)' + else + echo " ${the_shell} ($file_elapsed $(plural second $file_elapsed))" fi - echo " ${the_shell} ($file_elapsed $(plural second $file_elapsed))" ;; esac fi