dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hello world


From: deckrider
Subject: hello world
Date: Tue, 12 Dec 2006 18:25:46 -0700

I'm having difficulty getting the simplest hello world example to
pass, using the following, copied straight from the manual (I added
the 'default' so I can get an idea as to when it fails):

set test "Local Hello World"
send "echo Hello World"
expect {
-re "Hello World" { pass "$test" }
default { fail "$test" }
}

I'm on Debian GNU/Linux 'stable'

$ runtest --version
Expect version is       5.42.1
Tcl version is          8.4
Framework version is    1.4.4

Is there anyone who can throw me a clue?

Thanks!
Dave.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]