diff --git a/.gitignore b/.gitignore index 9e9aec1..0441489 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,20 @@ -SOURCES/anaconda-user-help-8.8.3.tar.gz +/anaconda-user-help-22.1.tar.gz +/anaconda-user-help-22.4.tar.gz +/anaconda-user-help-26.1.tar.gz +/anaconda-user-help-blivet-gui.tar.gz +/anaconda-user-help-8.0.1.tar.gz +/anaconda-user-help-8.0.2.tar.gz +/anaconda-user-help-8.0.3.tar.gz +/anaconda-user-help-8.0.4.tar.gz +/anaconda-user-help-8.0.6.tar.gz +/anaconda-user-help-8.0.7.tar.gz +/anaconda-user-help-8.0.9.tar.gz +/anaconda-user-help-8.1.1.tar.gz +/anaconda-user-help-8.2.1.tar.gz +/anaconda-user-help-8.2.2.tar.gz +/anaconda-user-help-8.2.3.tar.gz +/anaconda-user-help-8.3.1.tar.gz +/anaconda-user-help-8.3.3.tar.gz +/anaconda-user-help-8.7.1.tar.gz +/anaconda-user-help-8.8.2.tar.gz +/anaconda-user-help-8.8.3.tar.gz diff --git a/anaconda-user-help-8.8.3.tar.gz b/anaconda-user-help-8.8.3.tar.gz deleted file mode 100644 index 66ce439..0000000 Binary files a/anaconda-user-help-8.8.3.tar.gz and /dev/null differ diff --git a/tests/branding/Makefile b/tests/branding/Makefile new file mode 100644 index 0000000..29bfb1a --- /dev/null +++ b/tests/branding/Makefile @@ -0,0 +1,52 @@ +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Makefile of /anaconda-user-help.git/branding +# Description: Anaconda user help branding test +# Author: Peter Kotvan +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2019 Red Hat, Inc. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +export TEST=/anaconda-user-help.git/branding +export TESTVERSION=1.0 + +BUILT_FILES= + +FILES=$(METADATA) runtest.sh Makefile PURPOSE + +.PHONY: all install download clean + +run: $(FILES) build + ./runtest.sh + +build: $(BUILT_FILES) + test -x runtest.sh || chmod a+x runtest.sh + +clean: + rm -f *~ $(BUILT_FILES) + + +include /usr/share/rhts/lib/rhts-make.include + +$(METADATA): Makefile + @echo "Owner: Peter Kotvan " > $(METADATA) + @echo "Name: $(TEST)" >> $(METADATA) + @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) + @echo "Path: $(TEST_DIR)" >> $(METADATA) + @echo "Description: Anaconda user help branding test" >> $(METADATA) + @echo "Type: Install" >> $(METADATA) + @echo "TestTime: 20m" >> $(METADATA) + @echo "Priority: Normal" >> $(METADATA) + @echo "License: GPLv3" >> $(METADATA) + @echo "Confidential: no" >> $(METADATA) + @echo "Destructive: no" >> $(METADATA) +# @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) +# RhtsRequires: + @echo "RhtsRequires: beakerlib" >> $(METADATA) +# Requires: +# @echo "Requires: some-pkg" >> $(METADATA) + + rhts-lint $(METADATA) diff --git a/tests/branding/PURPOSE b/tests/branding/PURPOSE new file mode 100644 index 0000000..24b52a9 --- /dev/null +++ b/tests/branding/PURPOSE @@ -0,0 +1,3 @@ +PURPOSE of /anaconda-user-help.git/branding +Description: Anaconda user help branding test +Author: Peter Kotvan diff --git a/tests/branding/runtest.sh b/tests/branding/runtest.sh new file mode 100755 index 0000000..cfbca3f --- /dev/null +++ b/tests/branding/runtest.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# runtest.sh of /anaconda-user-help.git/branding +# Description: Anaconda user help branding test +# Author: Peter Kotvan +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# +# Copyright (c) 2019 Red Hat, Inc. +# +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +# Include Beaker environment +. /usr/bin/rhts-environment.sh || exit 1 +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +rlJournalStart +# rlPhaseStartSetup +# rlPhaseEnd + + rlPhaseStartTest + rlLog "Verify whether anaconda user help contains the string fedora." + rlRun -s "rpm -ql anaconda-user-help | xargs grep -irq fedora" 123 + if [[ $? -ne 123 ]] + then + rlFileSubmit ${rlRun_LOG} "fedora_string.log" + fi + rlPhaseEnd + +# rlPhaseStartCleanup +# rlPhaseEnd +rlJournalPrintText +rlJournalEnd diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..72d9af2 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,8 @@ +--- +- hosts: all + roles: + - role: standard-test-beakerlib + tags: + - classic + tests: + - branding