Commit 1e37fd8c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Use good_bad_expect instead of a "if {0}" construct. Don't expect it

to fail.  Fixed a broken test outcome.
parent d662af3c
......@@ -252,7 +252,7 @@ simple_expect "%1072 49 0"
send "1073 93 11 1 { 3 } 0 { }\n"
simple_expect "%1073 49 0"
send "1074 93 12 1 { 3 } 0 { }\n"
simple_expect "=1074"
simple_expect "%1074 49 0"
send "1075 93 13 1 { 3 } 0 { }\n"
simple_expect "=1075"
send "1076 93 8 1 { 5 } 0 { }\n"
......@@ -292,14 +292,8 @@ simple_expect "=1090"
send "1091 93 11 1 { 4 } 0 { }\n"
simple_expect "%1091 49 0"
send "1092 93 12 1 { 4 } 0 { }\n"
setup_xfail "*-*-*" "Bug 334"
if {0} {
pass "Supervisor check correct"
simple_expect "=1092"
} else {
fail "Supervisor check correct"
simple_expect "%1092 49 0"
}
# Check that the supervisor check is correct.
good_bad_expect "=1092" "%49 0"
send "1093 93 13 1 { 4 } 0 { }\n"
simple_expect "%1093 49 0"
send "1094 93 8 1 { 6 } 0 { }\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment