If we created it, remove it again. No change because we're not adding any of the directories yet.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- test/litest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/litest.c b/test/litest.c index 0e050789..9d711098 100644 --- a/test/litest.c +++ b/test/litest.c @@ -741,6 +741,7 @@ litest_signal(int sig) list_for_each_safe(f, tmp, &created_files_list, link) { list_remove(&f->link); unlink(f->path); + rmdir(f->path); /* in the sighandler, we can't free */ } @@ -1219,6 +1220,7 @@ litest_remove_udev_rules(struct list *created_files_list) list_for_each_safe(f, tmp, created_files_list, link) { list_remove(&f->link); unlink(f->path); + rmdir(f->path); free(f->path); free(f); } -- 2.14.4 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel