Module Name: src
Committed By: rillig
Date: Sun Feb 7 13:06:02 UTC 2021
Modified Files:
src/tests/lib/libcurses/tests: addch
Log Message:
tests/libcurses: demonstrate more bugs in addch
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libcurses/tests/addch
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libcurses/tests/addch
diff -u src/tests/lib/libcurses/tests/addch:1.3 src/tests/lib/libcurses/tests/addch:1.4
--- src/tests/lib/libcurses/tests/addch:1.3 Sun Feb 7 01:53:54 2021
+++ src/tests/lib/libcurses/tests/addch Sun Feb 7 13:06:02 2021
@@ -8,6 +8,7 @@ call OK addch "\n"
# 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 @@ call OK addch "\n"
# 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"