diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-12 02:45:15 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-12 02:45:15 +0000 |
commit | 50a986605c3ab8967f644180bbb1ba7209b45e1f (patch) | |
tree | 6bb21ceaa1fdbde3e4eec32e4484681f6799cc51 | |
parent | 96994568fdc09c5833d993e548c960757b4a161a (diff) | |
parent | 20ad83907573303f06c08340d90955b7ab588627 (diff) | |
download | gtk+-50a986605c3ab8967f644180bbb1ba7209b45e1f.tar.gz |
Merge branch 'ebassi/for-main' into 'main'
tests: Don't drop chdir()'s return value on the floor
See merge request GNOME/gtk!4328
-rw-r--r-- | testsuite/reftests/gtk-reftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/reftests/gtk-reftest.c b/testsuite/reftests/gtk-reftest.c index 3872f554dc..1dd1a080f2 100644 --- a/testsuite/reftests/gtk-reftest.c +++ b/testsuite/reftests/gtk-reftest.c @@ -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); |