OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [expect/] [tests/] [stty.test] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Commands covered:  stty
2
#
3
# This file contains a collection of tests for one or more of the Tcl
4
# built-in commands.  Sourcing this file into Tcl runs the tests and
5
# generates output for errors.  No output means no errors were found.
6
 
7
if {[string compare test [info procs test]] == 1} then {source defs}
8
 
9
#exp_internal -f /dev/ttyp5 0
10
 
11
catch {unset x}
12
 
13
log_user 0
14
 
15
test stty-1.1 {basic stty operation} {
16
        exp_spawn cat -u
17
        catch {exp_stty < $spawn_out(slave,name)}
18
} {0}
19
 
20
test stty-1.2 {basic stty operation} {
21
        exp_spawn cat -u
22
        catch {exp_stty -echo < $spawn_out(slave,name)}
23
} {0}
24
 
25
#exp_internal 0
26
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.