pull up r18313 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2006 01:53:18 +0000 (01:53 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2006 01:53:18 +0000 (01:53 +0000)
 r18313@cathode-dark-space:  tlyu | 2006-06-30 21:50:37 -0400
 ticket: new
 target_version: 1.5
 tags: pullup
 version_reported: 1.5
 subject: work around failure to load into nonexistent db
 component: test

  * src/tests/Makefile.in (kdb_check): Run kdb5_util create after
  destroying to work around a behavior change from DAL integration.

ticket: 3974
version_fixed: 1.5

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18314 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/Makefile.in

index 0dcc085d2264d586f2ec58db33f09e69b9f586f7..5820ef32da922be6cbfdb2593f2f5329b1961efa 100644 (file)
@@ -43,6 +43,11 @@ kdb_check: kdc.conf krb5.conf
        $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) dump $(TEST_DB).dump
        $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) dump -ov $(TEST_DB).ovdump
        $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) destroy -f
+       @echo "====> NOTE!"
+       @echo "The following 'create' command is needed due to a change"
+       @echo "in functionality caused by DAL integration.  See ticket 3973."
+       @echo ====
+       $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) create
        $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) load $(TEST_DB).dump 
        $(RUN_SETUP) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) load -update -ov $(TEST_DB).ovdump 
        $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS)