cda9d1
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cda9d1
#
cda9d1
#   Makefile of /CoreOS/tests/Sanity/Master-server-chrooted
cda9d1
#   Description: Run basic empty named service and try to resolve localhost on it
cda9d1
#   Author: Petr Mensik <pemensik@redhat.com>
cda9d1
#
cda9d1
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cda9d1
#
cda9d1
#   Copyright (c) 2018 Red Hat, Inc.
cda9d1
#
cda9d1
#   This program is free software: you can redistribute it and/or
cda9d1
#   modify it under the terms of the GNU General Public License as
cda9d1
#   published by the Free Software Foundation, either version 2 of
cda9d1
#   the License, or (at your option) any later version.
cda9d1
#
cda9d1
#   This program is distributed in the hope that it will be
cda9d1
#   useful, but WITHOUT ANY WARRANTY; without even the implied
cda9d1
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
cda9d1
#   PURPOSE.  See the GNU General Public License for more details.
cda9d1
#
cda9d1
#   You should have received a copy of the GNU General Public License
cda9d1
#   along with this program. If not, see http://www.gnu.org/licenses/.
cda9d1
#
cda9d1
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cda9d1
cda9d1
export TEST=/CoreOS/tests/Sanity/Master-server-chrooted
cda9d1
export TESTVERSION=1.0
cda9d1
cda9d1
BUILT_FILES=
cda9d1
cda9d1
FILES=$(METADATA) runtest.sh Makefile PURPOSE
cda9d1
cda9d1
.PHONY: all install download clean
cda9d1
cda9d1
run: $(FILES) build
cda9d1
	./runtest.sh
cda9d1
cda9d1
build: $(BUILT_FILES)
cda9d1
	test -x runtest.sh || chmod a+x runtest.sh
cda9d1
cda9d1
clean:
cda9d1
	rm -f *~ $(BUILT_FILES)
cda9d1
cda9d1
cda9d1
include /usr/share/rhts/lib/rhts-make.include
cda9d1
cda9d1
$(METADATA): Makefile
cda9d1
	@echo "Owner:           Petr Mensik <pemensik@redhat.com>" > $(METADATA)
cda9d1
	@echo "Name:            $(TEST)" >> $(METADATA)
cda9d1
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
cda9d1
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
cda9d1
	@echo "Description:     Run basic empty named-chroot service and try to resolve localhost on it" >> $(METADATA)
cda9d1
	@echo "Type:            Sanity" >> $(METADATA)
cda9d1
	@echo "TestTime:        5m" >> $(METADATA)
cda9d1
	@echo "RunFor:          bind" >> $(METADATA)
cda9d1
	@echo "Requires:        bind bind-utils bind-chroot bind-sdb-chroot" >> $(METADATA)
cda9d1
	@echo "Priority:        Normal" >> $(METADATA)
cda9d1
	@echo "License:         GPLv2+" >> $(METADATA)
cda9d1
	@echo "Confidential:    no" >> $(METADATA)
cda9d1
	@echo "Destructive:     no" >> $(METADATA)
cda9d1
	@echo "Releases:        -RHEL4 -RHELClient5 -RHELServer5 -RHEL6" >> $(METADATA)
cda9d1
cda9d1
	rhts-lint $(METADATA)