tests: eio: make sure we cleanup eio_test_xattr_set correctly
authorStefan Schmidt <stefan@osg.samsung.com>
Wed, 11 May 2016 08:17:11 +0000 (10:17 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Wed, 11 May 2016 08:17:11 +0000 (10:17 +0200)
We missed tmpstr_del and shutting down eina here. This test segfaults from
time to time on Jenkins. Not sure this was the actual cause but better clean
it up anyway.

src/tests/eio/eio_test_xattr.c

index 0b1b298..1a50c12 100644 (file)
@@ -188,7 +188,9 @@ START_TEST(eio_test_xattr_set)
 
    close(fd);
    unlink(test_file_path);
+   eina_tmpstr_del(test_file_path);
    eio_shutdown();
+   eina_shutdown();
    ecore_shutdown();
 }
 END_TEST