mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
Bug 633117: glib fails tests if /etc/localtime is not properly set
This commit is contained in:
parent
c2d32d3f55
commit
8d28cde2aa
@ -779,7 +779,11 @@ test_GDateTime_get_day_of_year (void)
|
|||||||
static void
|
static void
|
||||||
test_GDateTime_printf (void)
|
test_GDateTime_printf (void)
|
||||||
{
|
{
|
||||||
gchar dst[16];
|
/* 64 seems big, but one zoneinfo file, Factory, has an abbreviation
|
||||||
|
* that long, and it will cause the test to fail if dst isn't big
|
||||||
|
* enough.
|
||||||
|
*/
|
||||||
|
gchar dst[64];
|
||||||
struct tm tt;
|
struct tm tt;
|
||||||
time_t t;
|
time_t t;
|
||||||
gchar t_str[16];
|
gchar t_str[16];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user