summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios09 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* termios: Fix canonical modeSebastian Huber2017-11-071-20/+77
| | | | | | | In canonical mode, input is made available line by line. We must stop the canonical buffer filling upon reception of an end-of-line character. Close #3218.
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* Move RTEMS-specific Termios API contentSebastian Huber2017-06-071-3/+3
| | | | | | | Remove obsolete support for OFILL, OFDEL, NLDLY, CRDLY, BSDLY, VTDLY, and FFDLY which is not present on FreeBSD and not implemented in Linux. Update #2833.
* termios09: Test send callbackSebastian Huber2017-02-281-0/+26
|
* termios: Implement non-blocking writeSebastian Huber2017-02-281-0/+33
|
* termios: Make write POSIX compatibleSebastian Huber2017-02-281-2/+136
| | | | | | | | Currently only blocking read/write operations are implemented. A blocking write must transfer at least one character. It should not wait for the device for the second character and so on. Close #2917.
* termios: Simplify oproc()Sebastian Huber2017-02-281-4/+5
| | | | Call rtems_termios_puts() only once. Adjust column in one place.
* termios09: Test output post processingSebastian Huber2017-02-281-0/+358
|
* termios: Fix infinite loop in receive pathSebastian Huber2017-02-281-0/+3
| | | | | | | In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Close #2915.
* termios: Change receive callback invocationSebastian Huber2017-02-281-1/+325
| | | | | | | | Call the receive callback in case a read will succeed without to block. This enables the use of the receive callback for a poll() and select() support. Increase raw input buffer size to allow buffering of one line. Close #2916.
* termios: Ignore carriage return early if desiredSebastian Huber2017-02-284-0/+301
In case carriage return characters should be ignored in the input (IGNCR), then drop them early before they reach the raw input buffer. This makes it easier to calculate the content size of the raw input buffer.