ibus-anthy/tests/ibus-desktop-testing/run/test.sh
Takao Fujiwara 2232576cc0 Update CI for RHEL10
- Add no-overview@fthx until gnome-shell-extension-no-overview is available
- Add gnome-headless-session@.service until GDM will provide it

Resolves: RHEL-58993
2024-09-17 10:24:19 +09:00

21 lines
878 B
Bash
Executable File

#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
. /usr/share/beakerlib/beakerlib.sh || exit 1
rlJournalStart
rlPhaseStartTest
rlRun -t "mkdir -p /usr/lib/systemd/system"
rlRun -t "cp ../tmp/gnome-headless-session@.service /usr/lib/systemd/system/."
rlRun -t "cp ../tmp/gdm-headless-login-session /usr/libexec/."
rlRun -t "chmod 755 /usr/libexec/gdm-headless-login-session"
rlRun -t "cp -R ../tmp/no-overview@fthx ."
rlRun -t "/usr/bin/ibus-desktop-testing-runner --runner gnome --tests ibus-anthy --no-graphics --lang ja_JP.UTF-8"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "echo test-suite.log"
rlRun "cat test-suite.log"
rlRun "echo /export/home/itestuser/test-autostart.log"
rlRun "cat /export/home/itestuser/test-autostart.log"
rlPhaseEnd
rlJournalEnd