Skip to content
Snippets Groups Projects
Commit ffb74e0b authored by Danny Auble's avatar Danny Auble
Browse files

fix for 10.10

parent 7f40fcfe
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,7 @@ if {[file exists $smap] == 0} { ...@@ -51,6 +51,7 @@ if {[file exists $smap] == 0} {
# #
set timeout 10 set timeout 10
spawn $smap --noheader spawn $smap --noheader
#exp_internal -f test10.10.log 1
expect { expect {
-re "ID J" { -re "ID J" {
set stuff [concat $stuff "1"] set stuff [concat $stuff "1"]
...@@ -102,11 +103,18 @@ expect { ...@@ -102,11 +103,18 @@ expect {
incr matches incr matches
exp_continue exp_continue
} }
-re "200\[0-9]" { -re "20\[0-1]\[0-9]" {
set stuff [concat $stuff "11"]
incr matches
exec sleep 1 exec sleep 1
send "\n" send "\n"
exp_continue exp_continue
} }
"qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj" {
# exec sleep 1
send "\n"
exp_continue
}
timeout { timeout {
send_user "\nFAILURE: smap not responding\n" send_user "\nFAILURE: smap not responding\n"
set exit_code 1 set exit_code 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment