multipass testing to particular passes. dejagnu-1.3 doesn't have
support for PASS, so we kludge it here, though some later versions
handle it by themselves.
(krb_exit): Add new proc to clean up on exit.
(kinit): Remove "expect \r" since "expect eof" will drain the pty
buffer properly anyway.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12583
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-07-22 Tom Yu <tlyu@mit.edu>
+
+ * default.exp: Add code to handle setting of PASS to constrain
+ multipass testing to particular passes. dejagnu-1.3 doesn't have
+ support for PASS, so we kludge it here, though some later versions
+ handle it by themselves.
+ (krb_exit): Add new proc to clean up on exit.
+ (kinit): Remove "expect \r" since "expect eof" will drain the pty
+ buffer properly anyway.
+
2000-07-02 Tom Yu <tlyu@mit.edu>
* default.exp: Add rudimentary support for multiple passes. For
set supported_enctypes "des-cbc-crc:normal"
set kdc_supported_enctypes "des-cbc-crc:normal"
-set MULTIPASS {
+set passes {
{
des
des3_krbtgt=0
}
}
+if [info exists PASS] {
+ foreach pass $passes {
+ if { [lsearch -exact $PASS [lindex $pass 0]] >= 0 } {
+ lappend MULTIPASS $pass
+ }
+ }
+} else {
+ set MULTIPASS $passes
+}
+
set last_passname_conf ""
set last_passname_db ""
}
}
send "$pass\r"
- # This last expect seems useless, but without it the test hangs on
- # AIX.
- expect {
- "\r" { }
- }
-
expect eof
-
if ![check_exit_status kinit] {
return 0
}
return 1
}
-
+proc krb_exit { } {
+ stop_kerberos_daemons
+}