diff --git a/functionaltests/proftest.c b/functionaltests/proftest.c index dda1cd90..b4f0017f 100644 --- a/functionaltests/proftest.c +++ b/functionaltests/proftest.c @@ -160,12 +160,14 @@ init_prof_test(void **state) void close_prof_test(void **state) { + prof_input("/quit"); + waitpid(exp_pid, NULL, 0); + stbbr_stop(); _cleanup_dirs(); setenv("XDG_CONFIG_HOME", config_orig, 1); setenv("XDG_DATA_HOME", data_orig, 1); - stbbr_stop(); } void