diff --git a/tests/runtest.sh b/tests/runtest.sh
index ae04c7e..fa04a55 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -18,11 +18,13 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
- rlRun "ibus-daemon -v -r -d"
+ # The -s option and & is important, when using the -d option
+ # in this test environment the error “Can't connect to IBus.” occurs.
+ rlRun -t -l "ibus-daemon -v -r -s &"
rlRun "sleep 5" 0 "Give ibus-daemon some time to start properly."
for name in \
cns11643 \
- emoji-table \
+ emoticon-table \
latex \
rusle \
rustrad \
@@ -39,10 +41,10 @@ rlJournalStart
mathwriter-ibus \
mongol_bichig
do
- rlRun "/usr/libexec/ibus-engine-table --xml 2>/dev/null | grep 'table:${name}'" \
+ rlRun -t -l "/usr/libexec/ibus-engine-table --xml 2>/dev/null | grep 'table:${name}'" \
0 "checking whether 'ibus-engine-table --xml' can list table:${name}:"
- rlRun "ibus list-engine --name-only | grep 'table:${name}$'" \
+ rlRun -t -l "ibus list-engine --name-only | grep 'table:${name}$'" \
0 "checking whether ibus can list table:${name}:"
done
rlPhaseEnd