25491408 the test suite requires the C locale but doesn't set it in pkg5unittest.py
--- a/src/tests/pkg5unittest.py Wed Feb 08 17:03:22 2017 -0800
+++ b/src/tests/pkg5unittest.py Wed Feb 08 14:16:02 2017 -0700
@@ -1,3 +1,4 @@
+#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
@@ -18,7 +19,7 @@
# CDDL HEADER END
#
-# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved.
#
# Define the basic classes that all test cases are inherited from.
@@ -40,6 +41,7 @@
import errno
import gettext
import hashlib
+import locale
import logging
import multiprocessing
import os
@@ -275,6 +277,8 @@
self.assertProtoReadable()
g_proto_readable = True
+ locale.setlocale(locale.LC_ALL, 'C')
+
@property
def methodName(self):
return self._testMethodName