Resolves: RHELMISC-5984 Fix CI test

This commit is contained in:
Mike FABIAN 2024-07-11 10:22:20 +02:00
parent 9843f12c8d
commit 4fb8ed0e3c

View File

@ -24,7 +24,9 @@ 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 \
array30-big \
@ -49,10 +51,10 @@ rlJournalStart
wubi-jidian86 \
yong
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