Compare commits

..

No commits in common. "c8-beta" and "c8s" have entirely different histories.
c8-beta ... c8s

17 changed files with 50 additions and 2 deletions

View File

@ -1 +0,0 @@
ff1190db8de279f950c242c6f4c5d5cdc2cbdc49 SOURCES/aspell-0.60.6.1.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/aspell-0.60.6.1.tar.gz
/aspell-0.60.6.1.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (aspell-0.60.6.1.tar.gz) = f310c7590be98406589b5c26ca36a2ecfe4733f0b40fd6c176b96b7955ef2b5cd0ec9a3d770cf132146ae7a896042b4b698945112995ee1ae66adcfa5542247f

30
tests/sanity Executable file
View File

@ -0,0 +1,30 @@
#!/bin/bash
. /usr/share/beakerlib/beakerlib.sh
TEST="/AppStream/aspell/Sanity/aspell"
PACKAGES=${PACKAGES:-"aspell"}
REQUIRES=${REQUIRES:-"aspell-en"}
rlJournalStart
rlPhaseStartSetup
rlAssertRpm --all
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "pushd $TmpDir"
rlPhaseEnd
rlPhaseStartTest
rlRun "aspell --lang=en --dict-dir=$TmpDir create master test.rws <<< word" 0 "Creating word list"
rlRun "echo word | aspell --lang=en --dict-dir=$TmpDir --master=test.rws pipe > out" 0 "Checking known word"
rlAssertGrep "^*" "out"
rlRun "echo nothing | aspell --lang=en --dict-dir=$TmpDir --master=test.rws pipe > out" 0 "Checking unknown word"
rlAssertGrep "^#" "out"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

12
tests/tests.yml Normal file
View File

@ -0,0 +1,12 @@
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- atomic
- classic
- container
tests:
- sanity
required_packages:
- aspell
- aspell-en