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.


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to