2010-07-06 Joel Sherrill <joel.sherrilL@OARcorp.com>

* termios06/init.c, termios06/termios06.scn: Add a couple more PPPDISC
	cases. Coverage of these paths is near complete.
This commit is contained in:
Joel Sherrill
2010-07-06 19:54:00 +00:00
parent 32d5196d70
commit 3e0310e340
3 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2010-07-06 Joel Sherrill <joel.sherrilL@OARcorp.com>
* termios06/init.c, termios06/termios06.scn: Add a couple more PPPDISC
cases. Coverage of these paths is near complete.
2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* malloctest/system.h: Enable malloc statistics.

View File

@@ -46,6 +46,10 @@ void set_discipline(void)
puts( "ioctl - TIOCSETD - OK" );
sc = ioctl(Test_fd, TIOCSETD, &pppdisc);
rtems_test_assert( sc == 0 );
puts( "ioctl - TIOCSETD - OK" );
sc = ioctl(Test_fd, TIOCSETD, &pppdisc);
rtems_test_assert( sc == 0 );
}
void ioctl_it(void)

View File

@@ -3,6 +3,9 @@ open(/dev/test) - OK
ioctl - TIOCGETD - OK
ioctl - TIOCSETD - OK
pppopen called
ioctl - TIOCSETD - OK
pppclose called
pppopen called
write(PPPD TEST) - OK
pppwrite called - 10 bytes
50 50 50 44 20 54 45 53 54 00 |PPPD TEST. |
@@ -13,7 +16,8 @@ pppioctl called
Reading (expected):
54 68 69 73 20 69 73 20 74 65 73 74 20 50 50 50 |This is test PPP|
20 69 6e 70 75 74 | input |
pppread calledpppinput called - with (T)
pppread called
pppinput called - with (T)
pppinput called - with (h)
pppinput called - with (i)
pppinput called - with (s)