summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8ccc0a)
raw | patch | inline | side by side (parent: d8ccc0a)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 7 Dec 2013 15:06:16 +0000 (16:06 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 7 Dec 2013 15:06:16 +0000 (16:06 +0100) |
This will ensure consistent time formatting.
t/libsysdb_net_test.c | patch | blob | history | |
t/libsysdb_test.c | patch | blob | history |
diff --git a/t/libsysdb_net_test.c b/t/libsysdb_net_test.c
index aede0d6c00d2fd4ee0be1ca0145ed277848e5c70..320cfac2d5a466256926aae55c4d01505a32d7dd 100644 (file)
--- a/t/libsysdb_net_test.c
+++ b/t/libsysdb_net_test.c
#include <check.h>
#include <stdio.h>
+#include <stdlib.h>
int
main(void)
#endif /* HAVE_FOPENCOOKIE */
};
+ putenv("TZ=UTC");
+
for (i = 0; i < SDB_STATIC_ARRAY_LEN(creators); ++i) {
SRunner *sr;
Suite *s;
diff --git a/t/libsysdb_test.c b/t/libsysdb_test.c
index c21f0bee7785d05e3bde2039b10aa2eb5c58a948..ca2a22d01efd1c7f862dd8fedb1b6dea9a462086 100644 (file)
--- a/t/libsysdb_test.c
+++ b/t/libsysdb_test.c
#include <check.h>
#include <stdio.h>
+#include <stdlib.h>
int
main(void)
{ util_strbuf_suite, NULL },
};
+ putenv("TZ=UTC");
+
for (i = 0; i < SDB_STATIC_ARRAY_LEN(creators); ++i) {
SRunner *sr;
Suite *s;