From ccf574ecc4dd8af8fd045a9d6bbaf5e8bf66a8d2 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 27 Jun 2019 11:15:31 -0700 Subject: touch.test: add missing `TZ=utc`s. I don't know why we fixed the other tests but not this one. Before this patch it's failing with/without TEST_HOST. After this patch, it passes both. --- tests/touch.test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/touch.test') diff --git a/tests/touch.test b/tests/touch.test index b010f7d3..8be231b7 100644 --- a/tests/touch.test +++ b/tests/touch.test @@ -64,10 +64,10 @@ testing "-t CCMMDDhhmm" \ "touch -t 2101231234 input && date +%Y-%m-%d:%H-%M-%S -r input" \ "$(date +%C)21-01-23:12-34-00\n" "" "" -testing "-a" "touch -t 197101020304 walrus && - touch -t 197203040506 -a walrus && stat -c '%X %Y' walrus" \ - "68555160 31655040\n" "" "" -testing "-m" "TZ=utc touch -t 197101020304 walrus && +testing "-a" "TZ=utc touch -t 197101020304 walrus && + TZ=utc touch -t 197203040506 -a walrus && TZ=utc stat -c '%X %Y' walrus" \ + "68533560 31633440\n" "" "" +testing "-m" "TZ=utc touch -t 197101020304 walrus && TZ=utc touch -t 197203040506 -m walrus && TZ=utc stat -c '%X %Y' walrus" \ "31633440 68533560\n" "" "" testing "-am" "TZ=utc touch -t 197101020304 walrus && -- cgit v1.2.3