1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Close profanity in functional test hook

This commit is contained in:
James Booth 2015-06-06 23:07:06 +01:00
parent c6ff761a95
commit 0e5dc6d89b

View File

@ -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