aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-06-14 13:57:21 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-06-14 13:57:21 +0300
commit055f49e2c626027c6a1641d7cd4b9c66aebbe403 (patch)
tree9e27efaed431174e9c54061c091742271968810a
parent466c423e97d38aa64c04ac97cf10034b8e962b9e (diff)
downloadpies-055f49e2c626027c6a1641d7cd4b9c66aebbe403.tar.gz
pies-055f49e2c626027c6a1641d7cd4b9c66aebbe403.tar.bz2
Fix datetime tests
* tests/builtin.at (IT_SPECIAL): Force TZ=0 to avoid false failures due to DST.
-rw-r--r--tests/builtin.at2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/builtin.at b/tests/builtin.at
index 80f060c..aaeaedd 100644
--- a/tests/builtin.at
+++ b/tests/builtin.at
@@ -79,12 +79,14 @@ component controller {
return-code * {
action disable;
exec "echo \$PIES_STATUS > $PWD/status ; piesctl --url '$PIES_CTLSOCK' --no-netrc shutdown";
}
}
_EOT
+TZ=0
+export TZ
set -e
to 10 \
pies --foreground --stderr \
--config-file control.conf --config-file pies.conf --debug 1 2>errlog
if test -s in.err; then

Return to:

Send suggestions and report system problems to the System administrator.