aboutsummaryrefslogtreecommitdiff
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)
downloadlibextractor-fad0b966e885a437dece9362cec4cb8133f148cd.tar.gz
libextractor-fad0b966e885a437dece9362cec4cb8133f148cd.zip
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[])
108 EXTRACTOR_METATYPE_CREATION_DATE, 108 EXTRACTOR_METATYPE_CREATION_DATE,
109 EXTRACTOR_METAFORMAT_UTF8, 109 EXTRACTOR_METAFORMAT_UTF8,
110 "text/plain", 110 "text/plain",
111 "Thu Oct 2 11:44:33 2003", 111 "Thu Oct 2 09:44:33 2003",
112 strlen ("Thu Oct 2 11:44:33 2003") + 1, 112 strlen ("Thu Oct 2 09:44:33 2003") + 1,
113 0 113 0
114 }, 114 },
115 { 115 {
@@ -319,6 +319,8 @@ main (int argc, char *argv[])
319 rpm_test_sol }, 319 rpm_test_sol },
320 { NULL, NULL } 320 { NULL, NULL }
321 }; 321 };
322
323 setenv ("TZ", "UTC", 1);
322 return ET_main ("rpm", ps); 324 return ET_main ("rpm", ps);
323} 325}
324 326