Changeset: bd43ca4076af for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bd43ca4076af
Modified Files:
        testing/Mtest.py.in
Branch: Jun2016
Log Message:

Off-by-one error.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2701,7 +2701,7 @@ def DoIt(env, SERVER, CALL, TST, EXT, PR
                      (prompt(), os.path.join(env['TSTDIR'], TST + EXT),
                       PRELUDE and PRELUDE[0] or '', TIMEOUT, CTIMEOUT, 
STIMEOUT))
     else:
-        if ttywidth > 0 and length + 10 + 21 > ttywidth:
+        if ttywidth > 0 and length + 10 + 21 >= ttywidth:
             # 10 - length of prompt()
             # 21 - length of time plus result
             l = ttywidth - 10 - 21 - 1
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to