summaryrefslogtreecommitdiffstats
path: root/src/test/test-date.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 18:51:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-08 18:51:17 +0000
commitf8bdff40eb3060586a7a385e7879f519b9af7d51 (patch)
tree0581c838f37fefddfd6d880aea14159dd9479e93 /src/test/test-date.c
parentReleasing progress-linux version 252.22-1~deb12u1progress7u1. (diff)
downloadsystemd-f8bdff40eb3060586a7a385e7879f519b9af7d51.tar.xz
systemd-f8bdff40eb3060586a7a385e7879f519b9af7d51.zip
Merging upstream version 252.23.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test-date.c')
-rw-r--r--src/test/test-date.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test-date.c b/src/test/test-date.c
index 930f1bd..5f9d387 100644
--- a/src/test/test-date.c
+++ b/src/test/test-date.c
@@ -62,6 +62,9 @@ static void test_one_noutc(const char *p) {
}
int main(int argc, char *argv[]) {
+ /* Tests have hard-coded results that do not expect a specific timezone to be set by the caller */
+ assert_se(unsetenv("TZ") >= 0);
+
test_setup_logging(LOG_DEBUG);
test_one("17:41");