diff options
author | Mark Eichin <eichin@mit.edu> | 1996-03-13 21:09:29 +0000 |
---|---|---|
committer | Mark Eichin <eichin@mit.edu> | 1996-03-13 21:09:29 +0000 |
commit | d36679419b9f35eac17b20a6db62fd422c545884 (patch) | |
tree | 3dd9fd3563f3d2ee7eaf061155baf3f834488f34 /src/tests/dejagnu/krb-standalone/standalone.exp | |
parent | b65a70d000fe0e9bd4645aa923a492298827bc92 (diff) | |
download | krb5-d36679419b9f35eac17b20a6db62fd422c545884.tar.gz krb5-d36679419b9f35eac17b20a6db62fd422c545884.tar.xz krb5-d36679419b9f35eac17b20a6db62fd422c545884.zip |
replace KRBTEST.COM with $REALMNAME. Now you can change the realm name the
tests use by "runtest --tool krb --srcdir whatever REALMNAME=WHITEHOUSE.GOV"
also added -- to kadmin tests so they work with any getopt
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7625 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/dejagnu/krb-standalone/standalone.exp')
-rw-r--r-- | src/tests/dejagnu/krb-standalone/standalone.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/dejagnu/krb-standalone/standalone.exp b/src/tests/dejagnu/krb-standalone/standalone.exp index 5cde955cba..0b3a4b0bf7 100644 --- a/src/tests/dejagnu/krb-standalone/standalone.exp +++ b/src/tests/dejagnu/krb-standalone/standalone.exp @@ -1,4 +1,4 @@ -# Standalone Kerberos test. + # Standalone Kerberos test. # This is a DejaGnu test script. # This script tests that the Kerberos tools can talk to each other. @@ -28,6 +28,7 @@ if ![setup_kerberos_db 1] { # processes when the procedure ends. proc doit { } { + global REALMNAME global KLIST global KDESTROY global KEY @@ -58,7 +59,7 @@ proc doit { } { # Make sure that klist can see the ticket. spawn $KLIST expect { - -re "Ticket cache:\[ \]*$tmppwd/tkt.*Default principal:\[ \]*krbtest/admin@KRBTEST.COM.*krbtgt/KRBTEST.COM@KRBTEST.COM\r\n" { + -re "Ticket cache:\[ \]*$tmppwd/tkt.*Default principal:\[ \]*krbtest/admin@$REALMNAME.*krbtgt/$REALMNAME@$REALMNAME\r\n" { verbose "klist started" } timeout { |