summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-26 00:40:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-26 00:40:34 +0200
commitfad0b966e885a437dece9362cec4cb8133f148cd (patch)
treec2089f7aa4de8ebddb975f21c001b03e4dcb0fab
parentab9b0ddaee63f3081c4b9f06da76d1a33c4868e2 (diff)
fix #6391
-rw-r--r--src/plugins/test_rpm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/test_rpm.c b/src/plugins/test_rpm.c
index e9fbfc6..34bdc37 100644
--- a/src/plugins/test_rpm.c
+++ b/src/plugins/test_rpm.c
@@ -108,8 +108,8 @@ main (int argc, char *argv[])
EXTRACTOR_METATYPE_CREATION_DATE,
EXTRACTOR_METAFORMAT_UTF8,
"text/plain",
- "Thu Oct 2 11:44:33 2003",
- strlen ("Thu Oct 2 11:44:33 2003") + 1,
+ "Thu Oct 2 09:44:33 2003",
+ strlen ("Thu Oct 2 09:44:33 2003") + 1,
0
},
{
@@ -319,6 +319,8 @@ main (int argc, char *argv[])
rpm_test_sol },
{ NULL, NULL }
};
+
+ setenv ("TZ", "UTC", 1);
return ET_main ("rpm", ps);
}