Explicitly destroy the test database before reloading it
authorTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 05:41:33 +0000 (05:41 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 7 Oct 1994 05:41:33 +0000 (05:41 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4479 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/Makefile.in

index 09cff7c150cf1d8fc585f42101acd18617890a76..80f6625018e4d529693a1c7e549b0bff00b3c133 100644 (file)
@@ -18,7 +18,8 @@ kdb_check:
        ../tests/create/kdb5_mkdums $(KTEST_OPTS) 
        ../tests/verify/kdb5_verify $(KTEST_OPTS) 
        ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump"
-       ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "load_db $(TEST_DB).dump $(TEST_DB)"
+       ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+       ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)"
        ../tests/verify/kdb5_verify $(KTEST_OPTS) 
        ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump2"
        sort $(TEST_DB).dump > $(TEST_DB).sort