Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses/tests tests/libcurses: demonstrate more ...
details: https://anonhg.NetBSD.org/src/rev/cdc4c78d6dfe
branches: trunk
changeset: 951900:cdc4c78d6dfe
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Feb 07 13:06:02 2021 +0000
description:
tests/libcurses: demonstrate more bugs in addch
diffstat:
tests/lib/libcurses/tests/addch | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 2f79433c29b9 -r cdc4c78d6dfe tests/lib/libcurses/tests/addch
--- a/tests/lib/libcurses/tests/addch Sun Feb 07 12:56:53 2021 +0000
+++ b/tests/lib/libcurses/tests/addch Sun Feb 07 13:06:02 2021 +0000
@@ -8,6 +8,7 @@
# Somewhere between NetBSD 8.0 and 9.0, a bug was added to addch that
# doubled the spaces for a tab. Instead of 8 spaces, there are now 16.
call OK addch "\t"
+call2 6 16 getyx STDSCR # FIXME: must be 8, not 16
call OK addch "8"
call OK addch "\n"
@@ -15,6 +16,8 @@
# doubled the spaces for a tab. Instead of 1 space, there are now 2.
call OK addstr "0123456"
call OK addch "\t"
+call2 7 9 getyx STDSCR # FIXME: with probability around 50%, the
+ # 7 comes out as a 6.
call OK addch "8"
call OK addch "\n"
Home |
Main Index |
Thread Index |
Old Index