From c5352f09a4e5722fd64b3638e0e3e014fd098036 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 19:19:09 -0500 Subject: Simplified an else clause in test/run --- test/run | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/run') diff --git a/test/run b/test/run index b0da1b6e..55eb39f3 100755 --- a/test/run +++ b/test/run @@ -36,10 +36,9 @@ elif [[ $output_only == false ]]; then if [[ -f /tmp/expected.$$ && -f /tmp/received.$$ ]]; then diff -w -U3 /tmp/expected.$$ /tmp/received.$$ && echo Test passed. fi -else - if [[ -f /tmp/received.$$ ]]; then - cat /tmp/received.$$ - fi + +elif [[ -f /tmp/received.$$ ]]; then + cat /tmp/received.$$ fi /bin/rm -f /tmp/expected.$$ /tmp/received.$$ -- cgit v1.2.3