mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Bug 633117: glib fails tests if /etc/localtime is not properly set
This commit is contained in:
parent
c9939b0fc7
commit
e6d45972fc
@ -794,7 +794,11 @@ test_GDateTime_get_day_of_year (void)
|
||||
static 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;
|
||||
time_t t;
|
||||
gchar t_str[16];
|
||||
|
Loading…
Reference in New Issue
Block a user