about summary refs log tree commit diff stats
path: root/functionaltests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-06 23:07:44 +0100
committerJames Booth <boothj5@gmail.com>2015-06-06 23:07:44 +0100
commite8095a1b96f89f7097696d4a236b3849e9a276a5 (patch)
tree9613e2ffc764c951ae2b4105a5652100348714f0 /functionaltests
parent91767e6090a64c6465880fbb73f196f97628e777 (diff)
parent0e5dc6d89b1121c8a00ebba142d0b5f02de5e097 (diff)
downloadprofani-tty-e8095a1b96f89f7097696d4a236b3849e9a276a5.tar.gz
Merge branch 'master' into openpgp
Diffstat (limited to 'functionaltests')
-rw-r--r--functionaltests/proftest.c4
1 files changed, 3 insertions, 1 deletions
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