summaryrefslogtreecommitdiffstats
path: root/regress/lib/libedit
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Regress libedit needs header files generated during src libeditbluhm2-11/+10
build. Improve dependencies to resolve this more reliably. requested by claudio@
2017-07-07Remove all references to "make depend" from regress.bluhm2-4/+2
2017-07-05Implement the generated dependency with a stamp file to avoid needlessbluhm10-12/+17
recompiling of the test programs. Add some RCS ids.
2017-07-04Fix building the libedit regress programs.bluhm2-7/+5
2017-07-03Generate source and header files for regress on demand.bluhm4-25/+18
OK espie@
2017-02-25Add missing includes to avoid implicit function declarations.jsg1-0/+1
2016-09-18The libedit regress tests require header files generated during thebluhm3-11/+18
build. Add a dependency to run make depend in /usr/src/lib/libedit. Problem found by otto@; OK schwarze@
2016-09-08fix test after the errno reshuffle; ok swarsche@otto1-2/+2
2016-09-06These tests didn't work without setting READLINE because we don'tschwarze2-3/+3
install <editline/readline.h> by default; make them work by using the copy from the source tree. Issue reported by otto@.
2016-06-01Add detailed error messages and restructure to make the individualschwarze1-112/+118
test functions shorter and easier to understand. The total number of lines remains unchanged.
2016-06-01Test history_get() return value;schwarze1-0/+30
from Bastian Maerkisch <bmaerkisch at web dot de>.
2016-05-31The argument of remove_history() only counts existing entries,schwarze1-0/+7
not those that were previously deleted.
2016-05-31Style unification and whitespace cleanup, in part suggested byschwarze1-35/+36
Christian Heckendorf. No functional change.
2016-05-25deal with the el_errno -> read_errno cleanup, read.c rev. 1.43schwarze2-7/+5
2016-05-22cope with simplified chared/read interfaceschwarze2-8/+3
2016-05-10Enable the readline(3) regression test provided by Bastian Maerkisch,schwarze1-2/+2
all bugs tested so far have been fixed.
2016-05-10adapt to recently changed internal interface of read_getcmd()schwarze1-3/+3
2016-05-06A few regression tests for libedit readline(3) compat code.schwarze2-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.
2016-04-11cope with the deletion of Char, use wchar_tschwarze5-14/+18
2016-04-11drop -DWIDECHAR, it's no longer neededschwarze3-6/+3
2016-03-22initialize el_state.metanext before testing read_getcmd()schwarze1-0/+1
2016-03-20Fix the CHARSET_IS_UTF8 case in read_char().schwarze1-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.
2016-03-01After the bugfix in libedit/chared.c rev. 1.17,schwarze1-3/+2
chared unit tests now work, so enable them.
2016-03-01More unit tests for libedit.schwarze13-42/+458
Those that still fail are commented out in the Makefiles for now; i have patches for them.
2016-02-11Test the C/POSIX locale too, in addition to UTF-8.schwarze2-17/+37
2016-02-11Slowly start a unit test suite for libedit; Christos is right thatschwarze3-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.