URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [insight/] [expect/] [tests/] [stty.test] - Rev 1777
Go to most recent revision | Compare with Previous | Blame | View Log
# Commands covered: stty
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
if {[string compare test [info procs test]] == 1} then {source defs}
#exp_internal -f /dev/ttyp5 0
catch {unset x}
log_user 0
test stty-1.1 {basic stty operation} {
exp_spawn cat -u
catch {exp_stty < $spawn_out(slave,name)}
} {0}
test stty-1.2 {basic stty operation} {
exp_spawn cat -u
catch {exp_stty -echo < $spawn_out(slave,name)}
} {0}
#exp_internal 0
Go to most recent revision | Compare with Previous | Blame | View Log