summaryrefslogtreecommitdiffstats
path: root/regress/lib/libedit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Regress libedit needs header files generated during src libeditbluhm2019-05-102-11/+10
| | | | | build. Improve dependencies to resolve this more reliably. requested by claudio@
* Remove all references to "make depend" from regress.bluhm2017-07-072-4/+2
|
* Implement the generated dependency with a stamp file to avoid needlessbluhm2017-07-0510-12/+17
| | | | recompiling of the test programs. Add some RCS ids.
* Fix building the libedit regress programs.bluhm2017-07-042-7/+5
|
* Generate source and header files for regress on demand.bluhm2017-07-034-25/+18
| | | | OK espie@
* Add missing includes to avoid implicit function declarations.jsg2017-02-251-0/+1
|
* The libedit regress tests require header files generated during thebluhm2016-09-183-11/+18
| | | | | 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
|
* These tests didn't work without setting READLINE because we don'tschwarze2016-09-062-3/+3
| | | | | | install <editline/readline.h> by default; make them work by using the copy from the source tree. Issue reported by otto@.
* Add detailed error messages and restructure to make the individualschwarze2016-06-011-112/+118
| | | | | test functions shorter and easier to understand. The total number of lines remains unchanged.
* Test history_get() return value;schwarze2016-06-011-0/+30
| | | | from Bastian Maerkisch <bmaerkisch at web dot de>.
* The argument of remove_history() only counts existing entries,schwarze2016-05-311-0/+7
| | | | not those that were previously deleted.
* Style unification and whitespace cleanup, in part suggested byschwarze2016-05-311-35/+36
| | | | Christian Heckendorf. No functional change.
* deal with the el_errno -> read_errno cleanup, read.c rev. 1.43schwarze2016-05-252-7/+5
|
* cope with simplified chared/read interfaceschwarze2016-05-222-8/+3
|
* Enable the readline(3) regression test provided by Bastian Maerkisch,schwarze2016-05-101-2/+2
| | | | all bugs tested so far have been fixed.
* adapt to recently changed internal interface of read_getcmd()schwarze2016-05-101-3/+3
|
* A few regression tests for libedit readline(3) compat code.schwarze2016-05-062-0/+276
| | | | | | | | Not linked to the build for now because these tests still fail for our libedit and because readline compat is not enabled in our build. Test suite written by Bastian Maerkisch <bmaerkisch@web.de>. KNF and some minor tweaks by me.
* cope with the deletion of Char, use wchar_tschwarze2016-04-115-14/+18
|
* drop -DWIDECHAR, it's no longer neededschwarze2016-04-113-6/+3
|
* 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.
* After the bugfix in libedit/chared.c rev. 1.17,schwarze2016-03-011-3/+2
| | | | chared unit tests now work, so enable them.
* More unit tests for libedit.schwarze2016-03-0113-42/+458
| | | | | 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.