aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-keyboard-test.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indicator-keyboard-test.in')
-rw-r--r--tests/indicator-keyboard-test.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/indicator-keyboard-test.in b/tests/indicator-keyboard-test.in
index 7ae24423..621133dd 100644
--- a/tests/indicator-keyboard-test.in
+++ b/tests/indicator-keyboard-test.in
@@ -3,5 +3,11 @@
export PATH="@abs_top_builddir@/tests/execute:$PATH"
export DCONF_PROFILE="@abs_top_builddir@/tests/profiles/indicator-keyboard-test"
export GSETTINGS_SCHEMA_DIR="@abs_top_builddir@/data"
+export XDG_RUNTIME_DIR="@abs_top_builddir@/tests"
-xvfb-run -a ./indicator-keyboard-tests
+if xvfb-run -a ./indicator-keyboard-tests
+then
+ pkill -f tests/gvfs || exit 0
+else
+ pkill -f tests/gvfs && exit 1
+fi