aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index a56c899..08e0de5 100644
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -120,7 +120,7 @@ run_command() {
(( STASIS_TEST_RESULT_SKIP++ ))
else
echo "... FAIL"
- if (( $(wc -c "$logfile" | cut -d ' ' -f 1) > 1 )); then
+ if [[ -s "$logfile" ]]; then
echo "#"
echo "# Last $lines_on_error line(s) follow:"
echo "#"