mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Use TZ=UTC0, not TZ=utc (which isn't portable).
This commit is contained in:
1 parent
4fb08235d1
commit
5098ee0cd7
1 file changed
+1
-1
@@ -29,7 +29,7 @@ fail=0
|
||||
# Set times back by 30 minutes.
|
||||
touch --ref f --date='-30 min' f || fail=1
|
||||
|
||||
TZ=utc command ls -og --time-style=+%Y-%m-%dT%H:%M:%S f > out.1 || fail
|
||||
TZ=UTC0 command ls -og --time-style=+%Y-%m-%dT%H:%M:%S f > out.1 || fail
|
||||
sed 's/ f$//;s/.* //' out.1 > out
|
||||
|
||||
cat <<\EOF > exp || fail=1
|
||||
|
||||
Reference in new issue
Block a user