Blame Regression/bz768798-Bind-does-not-provide-etc-rndc-key/Makefile

c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
#
c068eec
#   Makefile of /CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key
c068eec
#   Description: Test for BZ#768798 (Bind does not provide /etc/rndc.key)
c068eec
#   Author: Juraj Marko <jmarko@redhat.com>
c068eec
#
c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
#
c068eec
#   Copyright (c) 2012 Red Hat, Inc. All rights reserved.
c068eec
#
c068eec
#   This copyrighted material is made available to anyone wishing
c068eec
#   to use, modify, copy, or redistribute it subject to the terms
c068eec
#   and conditions of the GNU General Public License version 2.
c068eec
#
c068eec
#   This program is distributed in the hope that it will be
c068eec
#   useful, but WITHOUT ANY WARRANTY; without even the implied
c068eec
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
c068eec
#   PURPOSE. See the GNU General Public License for more details.
c068eec
#
c068eec
#   You should have received a copy of the GNU General Public
c068eec
#   License along with this program; if not, write to the Free
c068eec
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
c068eec
#   Boston, MA 02110-1301, USA.
c068eec
#
c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
c068eec
export TEST=/CoreOS/bind/Regression/bz768798-Bind-does-not-provide-etc-rndc-key
c068eec
export TESTVERSION=1.0
c068eec
c068eec
BUILT_FILES=
c068eec
c068eec
FILES=$(METADATA) runtest.sh Makefile PURPOSE
c068eec
c068eec
.PHONY: all install download clean
c068eec
c068eec
run: $(FILES) build
c068eec
	./runtest.sh
c068eec
c068eec
build: $(BUILT_FILES)
c068eec
	test -x runtest.sh || chmod a+x runtest.sh
c068eec
c068eec
clean:
c068eec
	rm -f *~ $(BUILT_FILES)
c068eec
c068eec
c068eec
include /usr/share/rhts/lib/rhts-make.include
c068eec
c068eec
$(METADATA): Makefile
c068eec
	@echo "Owner:           Juraj Marko <jmarko@redhat.com>" > $(METADATA)
c068eec
	@echo "Name:            $(TEST)" >> $(METADATA)
c068eec
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
c068eec
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
c068eec
	@echo "Description:     Test for BZ#768798 (Bind does not provide /etc/rndc.key)" >> $(METADATA)
c068eec
	@echo "Type:            Regression" >> $(METADATA)
c068eec
	@echo "TestTime:        5m" >> $(METADATA)
c068eec
	@echo "RunFor:          bind" >> $(METADATA)
c068eec
	@echo "Requires:        bind" >> $(METADATA)
c068eec
	@echo "Priority:        Normal" >> $(METADATA)
c068eec
	@echo "License:         GPLv2" >> $(METADATA)
c068eec
	@echo "Confidential:    no" >> $(METADATA)
c068eec
	@echo "Destructive:     no" >> $(METADATA)
c068eec
	@echo "Bug:             768798" >> $(METADATA)
c068eec
c068eec
	rhts-lint $(METADATA)