From: Paul Park Date: Fri, 1 Sep 1995 18:39:47 +0000 (+0000) Subject: Add test for old dump format X-Git-Tag: krb5-1.0-beta6~1204 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=90937700790b57c31560d53193f373d666fa39c8;p=krb5.git Add test for old dump format git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6652 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/ChangeLog b/src/tests/ChangeLog index 06e68a658..8c8dcc9bb 100644 --- a/src/tests/ChangeLog +++ b/src/tests/ChangeLog @@ -1,3 +1,7 @@ + +Fri Sep 1 14:39:07 EDT 1995 Paul Park (pjpark@mit.edu) + * Makefile.in - Add test for "old" dump format. + Thu Aug 24 18:48:01 1995 Theodore Y. Ts'o * .Sanitize: Update file list diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in index d84ab2fa0..ff6c8e189 100644 --- a/src/tests/Makefile.in +++ b/src/tests/Makefile.in @@ -18,6 +18,7 @@ kdb_check: LD_LIBRARY_PATH=$(TOPLIBD) ../tests/create/kdb5_mkdums $(KTEST_OPTS) LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump" + LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump" LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)" LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) @@ -26,6 +27,13 @@ kdb_check: sort $(TEST_DB).dump2 > $(TEST_DB).sort2 cmp $(TEST_DB).sort $(TEST_DB).sort2 LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f + LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db -old $(TEST_DB).odump $(TEST_DB)" + LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) + LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump2" + sort $(TEST_DB).odump > $(TEST_DB).osort + sort $(TEST_DB).odump2 > $(TEST_DB).osort2 + cmp $(TEST_DB).osort $(TEST_DB).osort2 + LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f $(RM) $(TEST_DB)*