Resolves: RHELMISC-5984 Fix CI test
This commit is contained in:
parent
ecdc54d0ef
commit
63b5ce5b7e
@ -18,11 +18,13 @@ rlJournalStart
|
|||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
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."
|
rlRun "sleep 5" 0 "Give ibus-daemon some time to start properly."
|
||||||
for name in \
|
for name in \
|
||||||
cns11643 \
|
cns11643 \
|
||||||
emoji-table \
|
emoticon-table \
|
||||||
latex \
|
latex \
|
||||||
rusle \
|
rusle \
|
||||||
rustrad \
|
rustrad \
|
||||||
@ -39,10 +41,10 @@ rlJournalStart
|
|||||||
mathwriter-ibus \
|
mathwriter-ibus \
|
||||||
mongol_bichig
|
mongol_bichig
|
||||||
do
|
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}:"
|
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}:"
|
0 "checking whether ibus can list table:${name}:"
|
||||||
done
|
done
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user