diff options
| author | rillig <rillig@NetBSD.org> | 2021-02-07 13:06:02 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2021-02-07 13:06:02 +0000 |
| commit | 71d9f7fa340ef59797ff126df2bd400d4d79ef74 (patch) | |
| tree | 6c37c45b9f55e440e1e15928d1bf623d2486811c /tests/lib | |
| parent | 831822791e463252a9b928feda254b0865bf04f9 (diff) | |
tests/libcurses: demonstrate more bugs in addch
Diffstat (limited to 'tests/lib')
| -rw-r--r-- | tests/lib/libcurses/tests/addch | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/libcurses/tests/addch b/tests/lib/libcurses/tests/addch index 2598e4a0a3f..96121392437 100644 --- a/tests/lib/libcurses/tests/addch +++ b/tests/lib/libcurses/tests/addch @@ -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" |
