From 0e5dc6d89b1121c8a00ebba142d0b5f02de5e097 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 6 Jun 2015 23:07:06 +0100 Subject: [PATCH] Close profanity in functional test hook --- functionaltests/proftest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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