Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
2eeab2eb
Commit
2eeab2eb
authored
Feb 01, 2013
by
JINMEI Tatuya
Browse files
[1725] disable sockcreator udp6_reate test on solaris 2.10 as OS is broken.
parent
8eb3dbe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
2eeab2eb
...
@@ -232,6 +232,21 @@ AM_CONDITIONAL(SET_ENV_LIBRARY_PATH, test $SET_ENV_LIBRARY_PATH = yes)
...
@@ -232,6 +232,21 @@ AM_CONDITIONAL(SET_ENV_LIBRARY_PATH, test $SET_ENV_LIBRARY_PATH = yes)
AC_SUBST(SET_ENV_LIBRARY_PATH)
AC_SUBST(SET_ENV_LIBRARY_PATH)
AC_SUBST(ENV_LIBRARY_PATH)
AC_SUBST(ENV_LIBRARY_PATH)
# Our experiments have shown Solaris 10 has broken support for the
# IPV6_USE_MIN_MTU socket option for getsockopt(); it doesn't return the value
# previously set via setsockopt(). We know it doesn't happen on one instance
# on Solaris 11, but we don't know whether it happens for any Solaris 10
# implementations or for earlier versions of Solaris. In any case, at the
# moment this matters for only one unittest case, so we'll simply disable
# the affected test using the following definition with the specific hardcoding
# of that version of Solaris.
case "$host" in
*-solaris2.10)
AC_DEFINE([HAVE_BROKEN_GET_IPV6_USE_MIN_MTU], [1],
[Define to 1 if getsockopt(IPV6_USE_MIN_MTU) does not work])
;;
esac
m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3.3 python3.2 python3.1 python3])
m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3.3 python3.2 python3.1 python3])
AC_ARG_WITH([pythonpath],
AC_ARG_WITH([pythonpath],
AC_HELP_STRING([--with-pythonpath=PATH],
AC_HELP_STRING([--with-pythonpath=PATH],
...
...
src/bin/sockcreator/tests/sockcreator_tests.cc
View file @
2eeab2eb
...
@@ -12,6 +12,8 @@
...
@@ -12,6 +12,8 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
// PERFORMANCE OF THIS SOFTWARE.
#include <config.h>
#include "../sockcreator.h"
#include "../sockcreator.h"
#include <util/unittests/fork.h>
#include <util/unittests/fork.h>
...
@@ -195,7 +197,12 @@ TEST(get_sock, tcp4_create) {
...
@@ -195,7 +197,12 @@ TEST(get_sock, tcp4_create) {
testAnyCreate
<
sockaddr_in
>
(
SOCK_STREAM
,
tcpCheck
);
testAnyCreate
<
sockaddr_in
>
(
SOCK_STREAM
,
tcpCheck
);
}
}
TEST
(
get_sock
,
udp6_create
)
{
#ifdef HAVE_BROKEN_GET_IPV6_USE_MIN_MTU
TEST
(
get_sock
,
DISABLED_udp6_create
)
#else
TEST
(
get_sock
,
udp6_create
)
#endif
{
testAnyCreate
<
sockaddr_in6
>
(
SOCK_DGRAM
,
udpCheck
<
sockaddr_in6
>
);
testAnyCreate
<
sockaddr_in6
>
(
SOCK_DGRAM
,
udpCheck
<
sockaddr_in6
>
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment