ibus-anthy/tests/ibus-desktop-testing/run/test.sh

21 lines
878 B
Bash
Raw Normal View History

#!/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