[prev in list] [next in list] [prev in thread] [next in thread]
List: monetdb-checkins
Subject: MonetDB: Jun2016 - Off-by-one error.
From: Sjoerd Mullender <commits+sjoerd=acm.org () monetdb ! org>
Date: 2016-06-30 12:20:38
Message-ID: hg.bd43ca4076af.1467289238.6315528441665844383 () monetdb2 ! cwi-incubator ! nl
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic