From cd4805ca94fd993263b4b04fdecd5bc9ce926201 Mon Sep 17 00:00:00 2001 From: Guillaume Chereau Date: Mon, 22 Jan 2024 02:53:30 +0800 Subject: [PATCH] Remove the /tmp/goxel_test.gox files --- src/tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests.c b/src/tests.c index 0521edfd3..bcd160f9f 100644 --- a/src/tests.c +++ b/src/tests.c @@ -47,6 +47,7 @@ static void test_file(const char *b64_data, uint32_t crc32) TEST(volume_crc32(goxel.image->active_layer->volume) == crc32); image_delete(goxel.image); goxel.image = image_new(); + sys_delete_file("/tmp/goxel_test.gox"); } static void test_load_file_v2(void) @@ -125,6 +126,7 @@ static void test_load_corrupt(void) fclose(file); err = goxel_import_file("/tmp/goxel_test.gox", NULL); TEST(err != 0); + sys_delete_file("/tmp/goxel_test.gox"); } void tests_run(void)