diff options
Diffstat (limited to 'src/lib/rpc/unit-test')
-rw-r--r-- | src/lib/rpc/unit-test/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/Makefile.in | 2 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/configure.in | 13 |
3 files changed, 19 insertions, 2 deletions
diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 5bc39f23ac..62225f225e 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,9 @@ +Thu Oct 9 20:58:35 1997 Tom Yu <tlyu@mit.edu> + + * configure.in, Makefile.in: Add test to disable udp test under + Solaris 2.0 thru 2.5; a getsockname() bug prevents channel + bindings from working. + Thu Feb 6 15:58:52 1997 Tom Yu <tlyu@mit.edu> * Makefile.in: diff --git a/src/lib/rpc/unit-test/Makefile.in b/src/lib/rpc/unit-test/Makefile.in index dfccd7e685..95cf25206d 100644 --- a/src/lib/rpc/unit-test/Makefile.in +++ b/src/lib/rpc/unit-test/Makefile.in @@ -40,7 +40,7 @@ unit-test-: unit-test-ok:: unit-test-setup unit-test-body unit-test-cleanup -unit-test-body:: unit-test-body-tcp unit-test-body-udp +unit-test-body:: unit-test-body-tcp @UDP_TEST@ unit-test-body-tcp: RPC_TEST_SRVTAB=/tmp/rpc_test_v5srvtab $(ENV_SETUP) \ diff --git a/src/lib/rpc/unit-test/configure.in b/src/lib/rpc/unit-test/configure.in index 3f55147016..95f719fbd0 100644 --- a/src/lib/rpc/unit-test/configure.in +++ b/src/lib/rpc/unit-test/configure.in @@ -9,7 +9,18 @@ AC_KRB5_TCL if test "$PERL" = perl -a "$RUNTEST" = runtest -a "$TCL_LIBS" != ""; then DO_TEST=ok fi -AC_SUBST(DO_TEST) +AC_SUBST(DO_TEST) +changequote(<<, >>) +case "$host" in +*-*-solaris2.[012345]*) + UDP_TEST= + ;; +*) + UDP_TEST=unit-test-body-udp + ;; +esac +changequote([, ]) +AC_SUBST(UDP_TEST) dnl KRB5_BUILD_PROGRAM V5_AC_OUTPUT_MAKEFILE |