# This file extends the init.sh (provided by gnulib).

# Set environment variables for the tests.
. ../tests/init-env

prepare_locale_ ()
{
  # Solaris 11 doesn't strip the CODESET part from the locale name,
  # when looking for a message catalog.  Create a directory link with
  # CODESET, to work around this.
  if test "$1" != "$2" && test "$GLIBC2" = no; then
    case "$host_os" in
      solaris2.11)
        cp -R "$1" "$2"
        ;;
    esac
  fi
}
