Commit dac21927 authored by Martin Nordholts's avatar Martin Nordholts

tests/buffer: Remove temporary file after test

Remove "/tmp/gegl-buffer-tmp.gegl" after 'save_small_roi' is done so
that make distcheck as another user like a buildbot doesn't fail with

  GLib-GIO-CRITICAL **: g_output_stream_write: assertion `G_IS_OUTPUT_STREAM (stream)' failed **
  ERROR:gegl-buffer-save.c:346:gegl_buffer_save: assertion failed: (info->offset == info->
parent a02660ab
......@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <glib/gmacros.h>
#include <glib/gstdio.h>
/* This file consists of a testing suite for the GeglBuffer API. For every
* function matching the regexp ^static.*(' in the file a test is performed and
......@@ -26,6 +26,7 @@ TEST ()
gegl_buffer_destroy (buffer);
buffer = NULL;
g_unlink (path);
g_free (path);
test_end ();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment