Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#93 Four of the "re pattern, gate keeping" tests fail

open
nobody
None
5
2013-02-07
2013-02-07
Mikhail Teterin
No

Trying to test the new build of expect-5.45 on FreeBSD (compiled against Tcl-8.5) I get four failed tests -- expect-1.10 through 1.13:

==== expect-1.13 re pattern, gate keeping FAILED
==== Contents of test case:

exp_stty raw < $spawn_out(slave,name)
expect "*"
exp_send "Password: "

#exp_internal 1
set timeout 10
set x 0
expect -re {^.*Password: ?$} {set x 1}
exp_stty -raw < $spawn_out(slave,name)
#exp_internal 0
set x

---- Result was:
0
---- Result should have been (exact matching):
1

The other 25 tests all pass. Please, advise.

Discussion