work around failure to load into nonexistent db
authorTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2006 01:50:37 +0000 (01:50 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2006 01:50:37 +0000 (01:50 +0000)
* src/tests/Makefile.in (kdb_check): Run kdb5_util create after
destroying to work around a behavior change from DAL integration.

ticket: new
target_version: 1.5
tags: pullup
version_reported: 1.5
component: test

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18313 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)