summaryrefslogtreecommitdiff
path: root/test/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/run')
-rwxr-xr-xtest/run7
1 files changed, 3 insertions, 4 deletions
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.$$