Home | History | Annotate | Download | only in slave
History log of /src/tests/lib/libcurses/slave/slave.c
RevisionDateAuthorComments
 1.17  13-Jun-2021  rillig tests/libcurses: add parentheses around argument to sizeof
 1.16  13-Feb-2021  rillig tests/libcurses: extract read_command_argument from process_commands

Having code indented so far to the right that each word gets its own
line is ridiculous. Fix that.

While here, remove the cargo-cult realloc pattern, which is not needed
if the process exits immediately on error.

While here, reduce the indentation of the code by returning early.

No functional change.
 1.15  13-Feb-2021  rillig tests/libcurses: fix reading from the parent process

In case of a short read, processing the incomplete data invoked
undefined behavior.
 1.14  13-Feb-2021  rillig tests/libcurses: fix child process handling

The child process needs to be properly controlled by the parent process.
Otherwise it is not possible to get code coverage data from it using
gcov since that requires the child process to exit normally. Previously
the child process had been killed because its parent had exited.
 1.13  13-Feb-2021  rillig tests/libcurses: clean up remaining include guard, comments

No functional change.
 1.12  13-Feb-2021  rillig tests/libcurses: fix pipe handling in child process

The child process only ever needs 2 ends of the pipes: one for reading
the commands, one for writing back the results.
 1.11  12-Feb-2021  rillig tests/libcurses: format misleading do-while loop
 1.10  09-Feb-2021  rillig tests/libcurses: add missing space after control flow keywords
 1.9  08-Feb-2021  rillig tests/libcurses: fix typo in license text
 1.8  24-Oct-2020  blymn Merge in code from Google Summer of Code project which dramatically
increases the number of tests performed.

Thanks to Naman Jain <jnaman806@gmail.com> for his excellent work on
this GSoC project.
 1.7  19-Sep-2019  blymn Rototill to add complex character support:

- Add cchar command to director test language to allow a complex character
to be defined and passed to the slave.
- Removed the distinction between args and returns internally to prevent
confusing the two which leads to errors and/or crashes.
- Converted mutt_test to use the new cchar definition and fixed the
check files for the test.
 1.6  15-Sep-2011  blymn branches: 1.6.42;
- add support for getparyx and getyx calls
- allow a NULL pointer to be returned to the director
- add support for passing back a single chtype character
- fix some indentation
- fix a lot of curses command calls that were just plain wrong
- don't try to allocate storage for a NULL parameter, it doesn't need it
 1.5  17-Jun-2011  christos - pass things in arguments instead of environment
- sanity check arguments
- disable extra data warning, old tests gave it too
- print more detailed errors
- use err/warn more
*some tests still fail; more than they used to*
 1.4  11-Jun-2011  christos Turn warns on for all tests and fix all the bugs.
 1.3  15-May-2011  christos branches: 1.3.2;
add missing header files.
 1.2  21-Apr-2011  blymn Allow a NULL pointer to be passed as an argument to a call.
 1.1  10-Apr-2011  blymn Add atf for libcurses with some tests
 1.3.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.6.42.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed