removing old and not functional tests

This commit is contained in:
Petr Sklenar 2022-01-04 16:35:10 +01:00
commit 09eafcd055
9 changed files with 0 additions and 335 deletions

View file

@ -1,64 +0,0 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
# Description: Test for BZ#788870 (BIND logs errors about DNS environment too)
# Author: Juraj Marko <jmarko@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2012 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
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 $(realpath /usr/share/rhts/lib/rhts-make.include)
$(METADATA): Makefile
@echo "Owner: Juraj Marko <jmarko@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test for BZ#788870 (BIND logs errors about DNS environment too)" >> $(METADATA)
@echo "Type: Regression" >> $(METADATA)
@echo "TestTime: 5m" >> $(METADATA)
@echo "RunFor: bind" >> $(METADATA)
@echo "Requires: bind" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Bug: 788870" >> $(METADATA)
[ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA)

View file

@ -1,5 +0,0 @@
PURPOSE of /CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
Description: Test for BZ#788870 (BIND logs errors about DNS environment too)
Author: Juraj Marko <jmarko@redhat.com>
Bug summary: BIND logs errors about DNS environment too verbosely
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=788870

View file

@ -1,22 +0,0 @@
summary: Test for BZ#788870 (BIND logs errors about DNS environment too)
description: |
Bug summary: BIND logs errors about DNS environment too verbosely
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=788870
contact: Petr Sklenar <psklenar@redhat.com>
component:
- bind
test: ./runtest.sh
require:
- bind
duration: 5m
enabled: true
tag:
- TIPfail_infra
- TIPpass
- Tier1
tier: '1'
relevancy: |
distro < rhel-6: False
extra-summary: /CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
extra-task: /CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
extra-nitrate: TC#0189520

View file

@ -1,61 +0,0 @@
#!/bin/bash
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/bind/Regression/bz788870-BIND-logs-errors-about-DNS-environment-too
# Description: Test for BZ#788870 (BIND logs errors about DNS environment too)
# Author: Juraj Marko <jmarko@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2012 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/bin/rhts-environment.sh
. /usr/lib/beakerlib/beakerlib.sh
PACKAGE="bind"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "pushd $TmpDir"
rlServiceStop "named"
rlFileBackup /etc/named.conf
echo "options {" > /etc/named.conf
echo " filter-aaaa-on-v4 yes;" >> /etc/named.conf
echo " filter-aaaa { 192.168.0.1; };" >> /etc/named.conf
echo "};" >> /etc/named.conf
rlPhaseEnd
rlPhaseStartTest
rlServiceStart "named"
rlPhaseEnd
rlPhaseStartCleanup
rlServiceStop "named"
rlRun "rm -f /etc/named.conf"
rlFileRestore
rlServiceRestore "named"
rlRun "popd"
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

View file

@ -1,64 +0,0 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
# Description: Test for BZ#858273 (Bind ignores Static stub zones and forwards all)
# Author: Branislav Blaskovic <bblaskov@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2012 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE named.conf
.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 $(realpath /usr/share/rhts/lib/rhts-make.include)
$(METADATA): Makefile
@echo "Owner: Branislav Blaskovic <bblaskov@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test for BZ#858273 (Bind ignores Static stub zones and forwards all)" >> $(METADATA)
@echo "Type: Regression" >> $(METADATA)
@echo "TestTime: 5m" >> $(METADATA)
@echo "RunFor: bind" >> $(METADATA)
@echo "Requires: bind" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Bug: 858273" >> $(METADATA)
[ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA)

View file

@ -1,5 +0,0 @@
PURPOSE of /CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
Description: Test for BZ#858273 (Bind ignores Static stub zones and forwards all)
Author: Branislav Blaskovic <bblaskov@redhat.com>
Bug summary: Bind ignores Static stub zones and forwards all queries to the forwarders
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=858273

View file

@ -1,22 +0,0 @@
summary: Test for BZ#858273 (Bind ignores Static stub zones and forwards all)
description: |
Bug summary: Bind ignores Static stub zones and forwards all queries to the forwarders
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=858273
contact: Petr Sklenar <psklenar@redhat.com>
component:
- bind
test: ./runtest.sh
require:
- bind
duration: 5m
enabled: true
tag:
- FedoraReady
- TIPfail_infra
- TIPpass
- Tier1
- TipWaived6
tier: '1'
extra-summary: /CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
extra-task: /CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
extra-nitrate: TC#0205182

View file

@ -1,36 +0,0 @@
options {
listen-on port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
dnssec-enable no;
dnssec-validation no;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
forwarders { 111.111.111.111; 222.222.222.222; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "domain.tld" IN {
type static-stub;
server-addresses { 123.123.123.1; };
forwarders { 1.1.1.1; };
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

View file

@ -1,56 +0,0 @@
#!/bin/bash
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/bind/Regression/bz858273-Bind-ignores-Static-stub-zones-and-forwards-all
# Description: Test for BZ#858273 (Bind ignores Static stub zones and forwards all)
# Author: Branislav Blaskovic <bblaskov@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2012 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="bind"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlFileBackup --clean "/etc/named.conf" "/etc/rndc.key" "/var/named/data/named.run"
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
rlRun "cp named.conf $TmpDir/named.conf"
rlRun "pushd $TmpDir"
rlRun "cp named.conf /etc/named.conf"
rlPhaseEnd
rlPhaseStartTest
rlRun "service named restart" 0 "Service named started successfully with forwarders"
rlPhaseEnd
rlPhaseStartCleanup
rlServiceStop "named"
rlRun "popd"
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
rlFileRestore
rlPhaseEnd
rlJournalPrintText
rlJournalEnd