commit: 4b7d09733e98f47794b356e512e0afaaf942658c
parent 8b51136387d07ba35a8e4b951e7d3620e61e5dad
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 13 Jun 2024 20:00:07 +0200
test-cmd/date.sh: export LC_ALL=C due to +%c
Otherwise different libc would yield different results,
which causes issues while cross-compiling or even static vs. dynamic.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test-cmd/date.sh b/test-cmd/date.sh
@@ -7,6 +7,7 @@ plans=15
. "$(dirname "$0")/tap.sh"
unset TZ
+export LC_ALL=C
t 'noargs' '' "$(date +%c)
"
@@ -20,7 +21,6 @@ t 'empty' '+' '
'
t 'echolike' '+hello_world' 'hello_world
'
-
t '@0' '-u -d @0 +%FT%T' '1970-01-01T00:00:00
'
t '@69' '-u -d @69 +%FT%T' '1970-01-01T00:01:09