diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-05-25 23:29:56 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-08-01 15:01:20 +0100 |
commit | df65ea7db666b904b762c8a40518c3f5ec81d7d4 (patch) | |
tree | 3e0883a3debf0c75a92aeed371ae3da5edbb182d /tests | |
parent | 591f959adb0d1f85a869dfc14b9b21a0de8417eb (diff) | |
download | gdk-pixbuf-df65ea7db666b904b762c8a40518c3f5ec81d7d4.tar.gz |
tests: Unlink temporary files
Don't leave files behind.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pixbuf-save.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pixbuf-save.c b/tests/pixbuf-save.c index 6c018f745..3737123f6 100644 --- a/tests/pixbuf-save.c +++ b/tests/pixbuf-save.c @@ -22,6 +22,7 @@ #include "gdk-pixbuf/gdk-pixbuf.h" #include "test-common.h" #include <string.h> +#include <glib/gstdio.h> #define compare_option(p1, p2, key) \ g_strcmp0 (gdk_pixbuf_get_option (p1, key), gdk_pixbuf_get_option (p2, key)) @@ -73,6 +74,8 @@ test_save_roundtrip (void) g_object_unref (pixbuf); g_object_unref (ref); + + g_unlink ("pixbuf-save-roundtrip"); } static void @@ -105,6 +108,8 @@ test_save_ico (void) g_object_unref (pixbuf); g_object_unref (ref); + + g_unlink ("pixbuf-save-roundtrip"); } static void |