In mod-principal tests for clearing the principal's policy, instead of
just testing to see if the wrong string is output and timing out
looking for it, check also for the new expected value. Cuts test
suite run time by about two minutes for each pass (client vs server).
ticket: 6357
target_version: 1.7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21866
dc483132-0cff-0310-8789-
dd5450dbe970
send "lindex \$principal 10\n"
expect {
-re "test-pol\n$prompt$" { fail "$test" }
+ -re "null\n$prompt$" { pass "$test" }
timeout { pass "$test" }
}
send "lindex \$p1 6\n"
send "lindex \$principal 10\n"
expect {
-re "test-pol\n$prompt$" { fail "$test" }
+ -re "null\n$prompt$" { pass "$test" }
timeout { pass "$test" }
}
send "lindex \$p1 6\n"