summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios09
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-06 08:03:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-06-07 12:57:39 +0200
commit93531e9b08b2c641abc4bf5e53c5ebcd754c7d55 (patch)
tree8f3826ecf432eeeeb97830b674e037102a9c5b66 /testsuites/libtests/termios09
parentDo not use deprecated <sys/termios.h> (diff)
downloadrtems-93531e9b08b2c641abc4bf5e53c5ebcd754c7d55.tar.bz2
Move RTEMS-specific Termios API content
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.
Diffstat (limited to 'testsuites/libtests/termios09')
-rw-r--r--testsuites/libtests/termios09/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/termios09/init.c b/testsuites/libtests/termios09/init.c
index 9b8992a861..6feb521244 100644
--- a/testsuites/libtests/termios09/init.c
+++ b/testsuites/libtests/termios09/init.c
@@ -848,7 +848,7 @@ static void test_opost(test_context *ctx)
static void test_xtabs(test_context *ctx)
{
- tcflag_t oflags = OPOST | XTABS;
+ tcflag_t oflags = OPOST | OXTABS;
size_t i;
for (i = 0; i < DEVICE_COUNT; ++i) {
@@ -952,7 +952,7 @@ static void flush_task(rtems_task_argument arg)
static void test_write(test_context *ctx)
{
- tcflag_t oflags = OPOST | ONLCR | XTABS;
+ tcflag_t oflags = OPOST | ONLCR | OXTABS;
rtems_status_code sc;
size_t i = INTERRUPT;
device_context *dev = &ctx->devices[i];
@@ -1031,7 +1031,7 @@ static void test_write(test_context *ctx)
buf[OUTPUT_BUFFER_SIZE - 1] = '\n';
rtems_test_assert(memcmp(dev->output_buf, buf, OUTPUT_BUFFER_SIZE) == 0);
- /* Ensure that XTABS output expansion is taken into account */
+ /* Ensure that OXTABS output expansion is taken into account */
dev->tty->column = 0;
clear_output(ctx, i);