From: Ezra Peisach Date: Wed, 1 Jan 2003 15:22:21 +0000 (+0000) Subject: * standalone.exp: Only run the keytab to srvtab tests if kerberos 4 X-Git-Tag: krb5-1.3-alpha1~198 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eae580439eff0e6922867c93dd9c43037865ad48;p=krb5.git * standalone.exp: Only run the keytab to srvtab tests if kerberos 4 support is compiled into the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15076 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog index a7d8e0f13..fe3f185a6 100644 --- a/src/tests/dejagnu/krb-standalone/ChangeLog +++ b/src/tests/dejagnu/krb-standalone/ChangeLog @@ -1,3 +1,8 @@ +2003-01-01 Ezra Peisach + + * standalone.exp: Only run the keytab to srvtab tests if kerberos 4 + support is compiled into the source tree. + 2002-09-30 Tom Yu * rsh.exp (rsh_test): Explicitly call stop_rsh_daemon upon pass diff --git a/src/tests/dejagnu/krb-standalone/standalone.exp b/src/tests/dejagnu/krb-standalone/standalone.exp index e493b65fe..dbe9b950c 100644 --- a/src/tests/dejagnu/krb-standalone/standalone.exp +++ b/src/tests/dejagnu/krb-standalone/standalone.exp @@ -30,6 +30,7 @@ proc doit { } { global tmppwd global spawn_id global supported_enctypes + global KRBIV # Start up the kerberos and kadmind daemons. if ![start_kerberos_daemons 1] { @@ -81,7 +82,8 @@ proc doit { } { do_klist "foo/bar" "krbtgt/$REALMNAME@$REALMNAME" "klist kt foo/bar vno $vno" do_kdestroy "kdestroy foo/bar vno $vno" - if [regexp {des-cbc-[a-z0-9-]*:v4} [lindex $supported_enctypes 0]] { + if {[info exists KRBIV] && $KRBIV && + [regexp {des-cbc-[a-z0-9-]*:v4} [lindex $supported_enctypes 0]]} { catch "exec rm -f $tmppwd/foosrvtab" spawn $KTUTIL expect_after {