summaryrefslogtreecommitdiffstats
path: root/regress/lib/libedit/read (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Regress libedit needs header files generated during src libeditbluhm2019-05-101-6/+7
| | | | | build. Improve dependencies to resolve this more reliably. requested by claudio@
* Implement the generated dependency with a stamp file to avoid needlessbluhm2017-07-055-3/+7
| | | | recompiling of the test programs. Add some RCS ids.
* Fix building the libedit regress programs.bluhm2017-07-041-5/+3
|
* Generate source and header files for regress on demand.bluhm2017-07-031-7/+4
| | | | OK espie@
* The libedit regress tests require header files generated during thebluhm2016-09-181-5/+6
| | | | | build. Add a dependency to run make depend in /usr/src/lib/libedit. Problem found by otto@; OK schwarze@
* fix test after the errno reshuffle; ok swarsche@otto2016-09-081-2/+2
|
* deal with the el_errno -> read_errno cleanup, read.c rev. 1.43schwarze2016-05-251-3/+3
|
* cope with simplified chared/read interfaceschwarze2016-05-222-8/+3
|
* adapt to recently changed internal interface of read_getcmd()schwarze2016-05-101-3/+3
|
* cope with the deletion of Char, use wchar_tschwarze2016-04-113-4/+4
|
* drop -DWIDECHAR, it's no longer neededschwarze2016-04-111-2/+1
|
* initialize el_state.metanext before testing read_getcmd()schwarze2016-03-221-0/+1
|
* Fix the CHARSET_IS_UTF8 case in read_char().schwarze2016-03-201-3/+2
| | | | | | | | | | | | | | | | | For now, this mainly help programs explicitly using wide-character functions like el_wgetc(3) and el_wgets(3). 1. After reading an invalid byte sequence, do not throw away additional valid bytes; fix by me using mbrtowc(3), obsoleting utf8_islead(). 2. When read(2) returns EOF, return that information to the caller, do not prod on and potentially access garbage data in the buffer; from Linas Vepstas via NetBSD read.c rev. 1.70 2013/05/27. 3. After read__fixio() failure, restore errno to the one set by read(); from Steffen Nurpmeso via NetBSD read.c rev. 1.68 2012/09/10. 4. After read__fixio() success, restore errno to the initial state upon function entry; fix by me. OK czarkoff@. Also committed to NetBSD.
* More unit tests for libedit.schwarze2016-03-015-42/+177
| | | | | Those that still fail are commented out in the Makefiles for now; i have patches for them.
* Test the C/POSIX locale too, in addition to UTF-8.schwarze2016-02-112-17/+37
|
* Slowly start a unit test suite for libedit; Christos is right thatschwarze2016-02-113-0/+178
fiddling with the internals of that code is dangerous without it. Intentionally not linked to the build yet, because many of the tests still fail: The related bugfixes are too intrusive right now and will go in after unlock.