aboutsummaryrefslogtreecommitdiff
path: root/tests/touch.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch.test')
-rw-r--r--tests/touch.test8
1 files changed, 4 insertions, 4 deletions
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 &&