re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:01:39 +02:00
parent a9b44fa9f0
commit 8246c9c6b8
6 changed files with 118 additions and 1 deletions

21
.gitignore vendored
View File

@ -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

Binary file not shown.

52
tests/branding/Makefile Normal file
View File

@ -0,0 +1,52 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /anaconda-user-help.git/branding
# Description: Anaconda user help branding test
# Author: Peter Kotvan <pkotvan@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# 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 <pkotvan@redhat.com>" > $(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)

3
tests/branding/PURPOSE Normal file
View File

@ -0,0 +1,3 @@
PURPOSE of /anaconda-user-help.git/branding
Description: Anaconda user help branding test
Author: Peter Kotvan <pkotvan@redhat.com>

35
tests/branding/runtest.sh Executable file
View File

@ -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 <pkotvan@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# 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

8
tests/tests.yml Normal file
View File

@ -0,0 +1,8 @@
---
- hosts: all
roles:
- role: standard-test-beakerlib
tags:
- classic
tests:
- branding