Home | History | Annotate | Download | only in check_files
History log of /src/tests/lib/libcurses/check_files/Makefile
RevisionDateAuthorComments
 1.12  10-Nov-2022  blymn Uncomment the waddstr call that was returning ERR, this is actually
correct so make the expected return ERR then repeat the call with
scrollok set to true to validate.

Do refreshes on the window instead of stdscr so we get the window
contents reported and update the check files with the expected
output.
 1.11  08-Nov-2022  blymn * Uncomment the slk_wset test which was previously commented out due
to incorrect output as this bug has been fixed.
* Added a check file to verify the slk_wset output.
 1.10  20-Apr-2022  blymn Add a test for the bkgrndset function
 1.9  16-Nov-2021  blymn Add more testing for special character handling in ins_wstr family.
 1.8  15-Nov-2021  blymn Update the ins_(n)wstr test family to split out the check files
for each call separately and update check files to reflect changed
behaviour due to a fix to related calls.
 1.7  06-Jun-2021  blymn New tests and updates for corrected behaviour due to fix for PR56224
* Added extra testing to the addstr test to demonstrate bug described
in PR#56224 and validate case when scrolling enabled still works.
* Fixed slk test, the slk_init output changed due to corrected wrapping,
slk_restore no longer returns ERR probably due to addwchar no longer
returning ERR when an implicit scroll was attempted when scrolling
disabled. Commented out the slk_wset test, this is now returning ERR
instead of misbehaving, needs investigation.
 1.6  05-Jun-2021  blymn Add new check file for the clear test.
 1.5  07-Feb-2021  rillig branches: 1.5.4;
libcurses: demonstrate bug in addch that doubles tab indentation

When adding "\t" via addch, win.curx advances by twice the spaces as
intended. This bug was introduced somewhere between NetBSD 8.0 and 9.0.

Adding "\t" via addstr does not have this bug.

This bug causes the installation menu of sysinst to be have its menu
items indented by 16 characters instead of only 8. This in turn
produces an ugly line break in the German translation.

The test framework for libcurses is not well integrated into ATF.
Whenever the expected output is longer than the actual output, or vice
versa, the test passes nevertheless. This makes it necessary to
constantly look into atf-run.log to see whether the actual output is
indeed equal to the expected output, which is crucial, especially for
telling the difference between addstr and addnstr.

Reusing the .chk files for several tests is not a good idea either. For
example, addstr and waddstr are supposed to produce the same result for
ASCII-only text, so it was tempting to use the same file. But waddstr
seems to have a bug (maybe undefined behavior), at least waddstr returns
ERR in one case where it shouldn't. This means that currently the
expected output (acknowledging the bug) must be different.

The "expected" test output in waddstr.chk looks completely broken, but
that's exactly what the test produces right now.
 1.4  24-Oct-2020  martin Add the new tests + check files, sort.
 1.3  26-May-2019  blymn Add more tests for curses
 1.2  08-Sep-2011  jmmv branches: 1.2.42;
It's ATFFILE=no, not NOATFFILE=true. This fixes the contents of the
installed Atffile, and allows the tests to actually run.
 1.1  10-Apr-2011  blymn Add atf for libcurses with some tests
 1.2.42.1  10-Jun-2019  christos Sync with HEAD
 1.5.4.1  06-Jun-2021  cjep sync with head

RSS XML Feed