Compare commits

...

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

9 changed files with 43 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/mwords.tar.Z
mwords.tar.Z

View File

@ -1 +0,0 @@
987413b137cac411f2c541e5a6e8cbbae6bb4929 SOURCES/mwords.tar.Z

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 (mwords.tar.Z) = e611c7bfd4a86769e3bc0f83fa4cf0d6ed97e7d7cdc0c6c280b1fd1b3b1ceb410952948d388006686b20329beefc53a3a5436142681c07b0071c05bb8cf72722

17
tests/scripts/runtest.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# Copyright (C) 2019 Karel Zak <kzak@redhat.com>
path=$(which look)
if [ ! -x "$path" ]; then
echo "look(1) not in $PATH"
exit 1
fi
NRES=$(look "gating" 2> /dev/null | wc -l)
if [ ! $NRES -gt 0 ]; then
echo "look(1) not found 'gating' word"
exit 1
fi
exit 0

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
- container
required_packages:
- util-linux
- words
- coreutils
tests:
- scripts:
dir: scripts
run: ./runtest.sh

View File

@ -1,7 +1,7 @@
Summary: A dictionary of English words for the /usr/share/dict directory
Name: words
Version: 3.0
Release: 28%{?dist}
Release: 29%{?dist}
License: Public Domain
Group: System Environment/Libraries
# Note that Moby Project officially does not exist any more. The most complete
@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/dict/words
%changelog
* Thu Mar 07 2019 Karel Zak <kzak@redhat.com> - 3.0-29
- fix #1681063 - add gating test
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild