summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/tests/scripts')
-rwxr-xr-xctdb/tests/scripts/run_tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/scripts/run_tests b/ctdb/tests/scripts/run_tests
index 8df1aecd25..8a87859352 100755
--- a/ctdb/tests/scripts/run_tests
+++ b/ctdb/tests/scripts/run_tests
@@ -40,7 +40,7 @@ tests_total=0
tests_passed=0
summary=""
-rows=$(if tty -s ; then stty size ; else echo x 80 ; fi | sed -e 's@.* @@')
+rows=$(if tty -s ; then stty size ; else echo x 80 ; fi | sed -e 's@.* @@' -e 's@^0$@80@')
ww=$((rows - 7))
for f; do