summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORSSebastian Huber2019-12-191-1/+1
| | | | | | | Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into CONFIGURE_MAXIMUM_FILE_DESCRIPTORS. Update #3753.
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-24/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* termios: Remove obsolete configuration optionsSebastian Huber2018-02-051-3/+0
| | | | Update #2843.
* termios: Use self-contained objectsSebastian Huber2018-02-021-3/+4
| | | | Update #2840.
* 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.
* libio: Use FIFO for iop free listSebastian Huber2017-09-151-4/+11
| | | | Update #3136.
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-223-91/+328
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-191-116/+46
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* termios: Partially hide rtems_termios_ttySebastian Huber2014-10-071-19/+33
| | | | | | | Move interrupt lock to device context and expose only this structure to the read, write and set attributes device handler. This makes these device handler independent of the general Termios infrastructure suitable for direct use in printk() support.
* termios: Separate flow control from normal handlerSebastian Huber2014-10-071-7/+42
|
* termios: Add rtems_termios_set_best_baud()Sebastian Huber2014-07-092-1/+58
|
* termios: PR1279: Use first open statusSebastian Huber2014-07-091-0/+50
|
* termios: PR1279: Use set attributes statusSebastian Huber2014-07-091-0/+63
|
* termios: PR2153: New low-level device APISebastian Huber2014-07-092-1/+101
| | | | | | | | | | | | | | | | | Add a new low-level device API to Termios that passes the TTY structure to the low-level device functions. This greatly simplifies the low-level device drivers since they are no longer forced to derive their private data from the minor number. It makes it possible to use the TTY low-level lock in the device driver low-level functions which is necessary for proper SMP support. For example to set the attributes it is often necessary to perform a read-modify-write operation on a control register used also by interrupt routines. A compatibility layer is provided to support device drivers using the old callback functions so it is not necessary to modify existing device drivers.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-214-4/+4
|
* tests/libtests: Use <rtems/test.h>Sebastian Huber2014-03-201-2/+6
|
* libtests/termios01: Add tests for cfsetspeed() and cfmakeraw()Daniel Ramirez2014-01-093-3/+106
|
* testsuites: Include missing header filesSebastian Huber2013-07-221-0/+1
|
* libtests/termios01: Use greedy allocation APISebastian Huber2012-07-172-36/+22
|
* libtmtests - Eliminate missing prototype warningsJoel Sherrill2012-05-111-4/+25
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-115-13/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+5
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-5/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-141-57/+58
| | | | | * termios01/init.c: Update due to API changes. Fixed integer types. Make functions static. Added const qualifier.
* 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
* 2011-06-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-06-201-0/+1
| | | | | | | | | * devfs04/Makefile.am, deviceio01/Makefile.am, monitor02/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, termios01/Makefile.am, termios03/Makefile.am, termios04/Makefile.am tztest/Makefile.am: Add missing files.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-222-0/+8
|
* 2010-08-10 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-08-102-7/+56
| | | | | | PR 1661/testing * termios01/init.c, termios01/termios01.scn: Added a test case to hit a case in rtems_termios_read.
* 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-101-1/+1
| | | | | | PR 1664/testing * termios01/init.c: Use INT_MAX instead of hard-coded number for error case to avoid warning on 16-bit targets.
* 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-08-093-59/+119
| | | | | | | PR 1661/testing * termios01/init.c, termios01/termios_testdriver.c, termios01/termios01.scn: Changes to improve coverage of rtems_termios_open routine.
* 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-142-11/+41
| | | | * termios01/init.c, termios01/termios01.scn: Fully exercise tcsetattr.
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-0/+1
| | | | | | | | | | | | * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am: Revert.
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-231-0/+20
| | | | | * termios01/termios01.scn: Fix bug so existing test code for rtems_termios_baud_to_index() is executed.
* 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-232-12/+10
| | | | | | | | | | | | | * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, heapwalk/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios01/init.c, termios02/Makefile.am: Fix bug so existing test code for rtems_termios_baud_to_index() is executed.
* 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-06-072-7/+161
| | | | | | | | | * termios01/init.c, termios01/termios01.scn, termios02/init.c, termios02/termios02.scn: Add tests for cfigetspeed(), cfogetspeed(), cfisetspeed(), cfosetspeed(), ctermid(), tcflow(), tcflush(), tcsendbreak(), tcsetpgrp(), and tcgetpgrp(). Some of these methods are minimal implementations so the tests will have to grow as the methods grow.
* 2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-111-1/+1
| | | | * termios01/init.c: Increase number of termios ports by 1.
* Reflect changes to rtems_termios_callbacks->write.Ralf Corsepius2009-12-101-2/+2
|
* 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-082-8/+6
| | | | | | | | | | * block01/init.c, block02/init.c, block03/init.c, block04/init.c, block05/init.c, block07/init.c, bspcmdline01/init.c, stringto01/init.c, stringto01/stringto_test_template.h, termios01/init.c, termios01/termios_testdriver.c, termios02/init.c: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure.
* Whitespace removal.Ralf Corsepius2009-11-302-10/+10
|
* Fix parity_table_Entry type.Ralf Corsepius2009-10-271-8/+11
| | | | | | Correct parity_table initialization. Add PRIdrtems_termios_baud_t. Use PRIdrtems_termios_baud_t to print rtems_termios_baud_t's.
* Eliminate unused vars.Ralf Corsepius2009-10-262-6/+0
|
* Include <rtems/termiostypes.h.Ralf Corsepius2009-10-261-0/+1
|
* 2009-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-011-1/+1
| | | | | | | | | * Makefile.am, configure.ac, termios01/termios_testdriver.c: Do not use CONSOLE_USE_INTERRUPTS. That is in use by BSPs and we should not use it. * termios02/.cvsignore, termios02/Makefile.am, termios02/init.c, termios02/termios02.doc, termios02/termios02.scn: New files. termios02 is a test for tcdrain().
* Reflect changes to termios.Ralf Corsepius2009-10-012-12/+12
|
* 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-152-0/+225
| | | | | * termios01/init.c, termios01/termios01.scn: Add a few error paths to complete coverage of termios_XXX_to_YYY() methods.
* 2009-08-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-157-0/+924
* Makefile.am, configure.ac: Add new test to exercise tcgetattr and tcsetattr. Does a variety of baud, parity, stop bits, and bits per character with the assistance of a special test driver which prints the requests. * termios01/.cvsignore, termios01/Makefile.am, termios01/init.c, termios01/termios01.doc, termios01/termios01.scn, termios01/termios_testdriver.c, termios01/termios_testdriver.h: New files.