Print this page
11919 date_test needs to set LC_TIME
Reviewed by: Paul Winder <paul@winders.demon.co.uk>
*** 9,30 ****
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright (c) 2017, Joyent, Inc.
#
#
# Basic tests of date -r.
#
! #
! # Make sure that we're executing in the C locale and that a given user's
! # locale doesn't impact this test.
! #
! export LANG=C
date_arg0="$(basename $0)"
date_prog=/usr/bin/date
date_curcmd=
--- 9,26 ----
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright 2019 Joyent, Inc.
#
#
# Basic tests of date -r.
#
! export LC_ALL=C
date_arg0="$(basename $0)"
date_prog=/usr/bin/date
date_curcmd=