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