* configure.in: add unit-test subdir
authorBarry Jaspan <bjaspan@mit.edu>
Mon, 23 Sep 1996 19:37:19 +0000 (19:37 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Mon, 23 Sep 1996 19:37:19 +0000 (19:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9104 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/ChangeLog
src/kadmin/v4server/configure.in
src/kadmin/v4server/unit-test/Makefile.in [new file with mode: 0644]
src/kadmin/v4server/unit-test/configure.in [new file with mode: 0644]

index 080650ad84e3d67c3d34370dafe15c554e47a539..e9aa5c9db41201965e2abdffd4dcf6adb56a1245 100644 (file)
@@ -1,3 +1,7 @@
+Mon Sep 23 15:36:41 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * configure.in: add unit-test subdir
+
 Wed Jul 31 17:53:45 1996  Tom Yu  <tlyu@mit.edu>
 
        * kadm_ser_wrap.c: Remove #include <sys/socket.h>, <netdb.h>
index 9d45c1e165161364a4028def29e249e7131fbf81..96f3653c21102c22350bd0cbe4afcb94aa4a112f 100644 (file)
@@ -1,5 +1,6 @@
 AC_INIT(admin_server.c)
 CONFIG_RULES
+AC_CONFIG_SUBDIRS(unit-test)
 AC_PROG_INSTALL
 AC_CHECK_HEADERS(sys/time.h unistd.h stdlib.h)
 CHECK_SIGNALS
diff --git a/src/kadmin/v4server/unit-test/Makefile.in b/src/kadmin/v4server/unit-test/Makefile.in
new file mode 100644 (file)
index 0000000..3701b50
--- /dev/null
@@ -0,0 +1,15 @@
+#
+# $Id$
+#
+
+check unit-test:: unit-test-setup unit-test-body unit-test-cleanup
+
+unit-test-setup::
+       $(ENV_SETUP) $(START_SERVERS_LOCAL) -v4files -kdcport 750 -keysalt des-cbc-crc:v4
+       $(ENV_SETUP) $(LOCAL_MAKE_KEYTAB) -princ changepw/kerberos /krb5/ovsec_adm.srvtab
+
+unit-test-body::
+       $(ENV_SETUP) $(RUNTEST) VFOURSERVER=../kadmind4 --tool v4server
+
+unit-test-cleanup::
+       $(ENV_SETUP) $(STOP_SERVERS_LOCAL) -v4files
diff --git a/src/kadmin/v4server/unit-test/configure.in b/src/kadmin/v4server/unit-test/configure.in
new file mode 100644 (file)
index 0000000..539cb73
--- /dev/null
@@ -0,0 +1,3 @@
+AC_INIT(helpers.exp)
+CONFIG_RULES
+V5_AC_OUTPUT_MAKEFILE