From 69b747c160db1dff10c0b7de30f3a7ef1dac3bfa Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 13 Dec 1995 20:29:45 +0000 Subject: [PATCH] * kadmin.exp: test that kadmin_modify doesn't corrupt key entries (I think proven's changes fix this, but this will help keep it fixed.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7230 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/krb-standalone/ChangeLog | 4 ++++ src/tests/dejagnu/krb-standalone/kadmin.exp | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog index e9fc30970..d01c3e9ac 100644 --- a/src/tests/dejagnu/krb-standalone/ChangeLog +++ b/src/tests/dejagnu/krb-standalone/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 13 15:28:17 1995 Mark Eichin + + * kadmin.exp: test that kadmin_modify doesn't corrupt key entries. + Sat Oct 7 08:02:08 1995 Ezra Peisach * sample.exp: Make changes to deal with NetBSD expect. Similar to diff --git a/src/tests/dejagnu/krb-standalone/kadmin.exp b/src/tests/dejagnu/krb-standalone/kadmin.exp index 3cd9fec8c..dd98854fb 100644 --- a/src/tests/dejagnu/krb-standalone/kadmin.exp +++ b/src/tests/dejagnu/krb-standalone/kadmin.exp @@ -746,6 +746,16 @@ proc kadmin_test { } { || ![kadmin_delete testprinc1/instance]} { return } + # now test modify changes. + if {![kadmin_add testuser testpw] \ + || ![kinit testuser testpw 0] \ + || ![kdestroy] \ + || ![kadmin_modify testuser maxlife=2500] \ + || ![kinit testuser testpw 0] \ + || ![kdestroy] \ + || ![kadmin_delete testuser]} { + return + } verbose "kadmin_test succeeded" } -- 2.26.2