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.