Resolves: RHELMISC-5984 Fix CI test

This commit is contained in:
Mike FABIAN 2024-07-10 12:36:26 +02:00
parent ecdc54d0ef
commit 63b5ce5b7e

View File

@ -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 '<name>table:${name}</name>'" \
rlRun -t -l "/usr/libexec/ibus-engine-table --xml 2>/dev/null | grep '<name>table:${name}</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