puppetlabs/puppet — pull request #1012 by vrthra (2012-08-08 19:15:21+00:00)
Title: (#15547) make sure that the LANG sentinels being used are present in the system

Previously, we used es_ES.UTF-8 as the sentinel value while checking for override
of LANG values in user environment. commands in Solaris errors out when the LANG
being used is not present in the locales installed in the system.

This patch changes the LANG sentinel being used to en_US.UTF-8 which is present in
a normal Solaris install.

For checking the overriding, the procedure is to change the LANG to "C" which is
different from either so we modify the behavior of the test itself.