aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-keyboard-test.in
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-08-22 18:36:10 +0800
committerWilliam Hua <william.hua@canonical.com>2013-08-22 18:36:10 +0800
commit3d0529fab0030e47859dc9e939465f4802399fbe (patch)
tree562c7851985a33d6769235021695e2ba284dec3d /tests/indicator-keyboard-test.in
parent4451d840969698c2d2106c013a95a3c6eb4baf70 (diff)
parent39fd9bd8383df1361c4141e4d0ad52a83a53a437 (diff)
downloadayatana-indicator-keyboard-3d0529fab0030e47859dc9e939465f4802399fbe.tar.gz
ayatana-indicator-keyboard-3d0529fab0030e47859dc9e939465f4802399fbe.tar.bz2
ayatana-indicator-keyboard-3d0529fab0030e47859dc9e939465f4802399fbe.zip
Merge trunk.
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