25 lines
612 B
Bash
Executable File
25 lines
612 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Include Beaker environment
|
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
|
|
rlJournalStart
|
|
rlPhaseStartSetup
|
|
rlAssertRpm libreoffice-voikko
|
|
rlAssertRpm libreoffice-core
|
|
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
|
rlRun "pushd $tmp"
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartTest
|
|
rlRun "unopkg list --bundled | grep 'Identifier.*voikko'" \
|
|
0 "Check whether the libreoffice-voikko extension is installed."
|
|
rlPhaseEnd
|
|
|
|
rlPhaseStartCleanup
|
|
rlRun "popd"
|
|
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
|
rlPhaseEnd
|
|
rlJournalEnd
|
|
|