diff --git a/stabbertests/proftest.c b/stabbertests/proftest.c index d5fdeb0a..6c44a6ee 100644 --- a/stabbertests/proftest.c +++ b/stabbertests/proftest.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "config.h" @@ -131,7 +132,10 @@ _create_logs_dir(void) void _cleanup_dirs(void) { - system("rm -rf ./stabbertests/files"); + int res = system("rm -rf ./stabbertests/files"); + if (res == -1) { + assert_true(FALSE); + } } void