The NetBSD Project

CVS log for src/tests/lib/libcurses/slave/slave.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / lib / libcurses / slave

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jun 13 12:46:01 2021 UTC (3 years, 6 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6 lines
tests/libcurses: add parentheses around argument to sizeof

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Feb 13 10:03:49 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +49 -51 lines
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.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 13 09:28:27 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +33 -19 lines
tests/libcurses: fix reading from the parent process

In case of a short read, processing the incomplete data invoked
undefined behavior.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Feb 13 09:18:12 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -2 lines
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.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 13 08:17:15 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
tests/libcurses: clean up remaining include guard, comments

No functional change.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 13 06:45:42 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +13 -16 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Feb 12 21:29:54 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -4 lines
tests/libcurses: format misleading do-while loop

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Feb 9 20:42:31 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
tests/libcurses: add missing space after control flow keywords

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:15:21 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
tests/libcurses: fix typo in license text

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 24 04:46:17 2020 UTC (4 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -10 lines
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.

Revision 1.6.42.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:28 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +5 -5 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Sep 19 11:31:58 2019 UTC (5 years, 2 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines

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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 15 11:46:19 2011 UTC (13 years, 3 months ago) by blymn
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: phil-wifi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -7 lines
- 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

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:40 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +15 -11 lines
Catchup with rmind-uvmplock merge.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jun 17 02:15:28 2011 UTC (13 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -7 lines
- 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*

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 11 18:03:18 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -5 lines
Turn warns on for all tests and fix all the bugs.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun May 15 23:59:03 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
add missing header files.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 10:23:50 2011 UTC (13 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -5 lines
Allow a NULL pointer to be passed as an argument to a call.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Apr 10 09:55:10 2011 UTC (13 years, 8 months ago) by blymn
Branches: MAIN
Add atf for libcurses with some tests

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>