tests: Don't drop chdir()'s return value on the floor

Avoid a compile time warning, and ensure that the test suite is actually
doing its job.
This commit is contained in:
Emmanuele Bassi 2022-01-03 14:07:25 +00:00
parent fef179b625
commit 20ad839075

View File

@ -552,7 +552,7 @@ main (int argc, char **argv)
* is the same as the reftest data, because we're using the
* "file" property of GtkImage as a relative path in builder files.
*/
chdir (basedir);
g_assert (chdir (basedir) == 0);
g_log_set_writer_func (log_writer, NULL, NULL);