svn rev #21866: trunk/src/lib/kadm5/unit-test/ api.0/ api.2/
raeburn@MIT.EDU
raeburn at MIT.EDU
Mon Feb 2 13:42:18 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=21866
Commit By: raeburn
Log Message:
ticket: 6357
subject: address lib/kadm5 test suite slowness
target_version: 1.7
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).
Changed Files:
U trunk/src/lib/kadm5/unit-test/api.0/mod-principal.exp
U trunk/src/lib/kadm5/unit-test/api.2/mod-principal.exp
Modified: trunk/src/lib/kadm5/unit-test/api.0/mod-principal.exp
===================================================================
--- trunk/src/lib/kadm5/unit-test/api.0/mod-principal.exp 2009-02-02 18:29:28 UTC (rev 21865)
+++ trunk/src/lib/kadm5/unit-test/api.0/mod-principal.exp 2009-02-02 18:42:06 UTC (rev 21866)
@@ -598,6 +598,7 @@
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"
Modified: trunk/src/lib/kadm5/unit-test/api.2/mod-principal.exp
===================================================================
--- trunk/src/lib/kadm5/unit-test/api.2/mod-principal.exp 2009-02-02 18:29:28 UTC (rev 21865)
+++ trunk/src/lib/kadm5/unit-test/api.2/mod-principal.exp 2009-02-02 18:42:06 UTC (rev 21866)
@@ -598,6 +598,7 @@
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"
More information about the cvs-krb5
mailing list