diff options
author | Alexander Pyhalov <apyhalov@gmail.com> | 2019-08-05 17:46:44 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2019-08-05 16:01:21 -0400 |
commit | 213b050a5a57cde3ec36eb74064cec2efb8aa8b2 (patch) | |
tree | b0c9562ae089172435aed31ffe905959442cc2b2 | |
parent | 8072728215ff40bc56f6ad193cd22da6fbc03bc6 (diff) | |
download | illumos-joyent-213b050a5a57cde3ec36eb74064cec2efb8aa8b2.tar.gz |
11518 date test is incorrect
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: John Levon <levon@movementarian.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/test/util-tests/tests/date/date_test.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/test/util-tests/tests/date/date_test.ksh b/usr/src/test/util-tests/tests/date/date_test.ksh index 384a02da2f..dc410ef40a 100644 --- a/usr/src/test/util-tests/tests/date/date_test.ksh +++ b/usr/src/test/util-tests/tests/date/date_test.ksh @@ -80,7 +80,7 @@ compare 04120554000 "Mon Sep 7 16:00:00 UTC 1987" UTC # # Test the file related logic # -touch -t 201712042323.23 $TMPDIR/test.$$ +env TZ=UTC touch -t 201712042323.23 $TMPDIR/test.$$ compare "$TMPDIR/test.$$" "Mon Dec 4 23:23:23 UTC 2017" UTC rm -f $TMPDIR/test.$$ |