mmalik / tests / selinux

Forked from tests/selinux 6 years ago
Clone

Blame selinux-policy/bz538089-plymouth-operations-denied-during-boot/Makefile

5389b5a
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5389b5a
#
5389b5a
#   Makefile of /CoreOS/selinux-policy/Regression/bz538089-plymouth-operations-denied-during-boot
5389b5a
#   Description: some plymouth operations are denied during boot because of SELinux
5389b5a
#   Author: Milos Malik <mmalik@redhat.com>
5389b5a
#
5389b5a
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5389b5a
#
5389b5a
#   Copyright (c) 2009 Red Hat, Inc. All rights reserved.
5389b5a
#
5389b5a
#   This copyrighted material is made available to anyone wishing
5389b5a
#   to use, modify, copy, or redistribute it subject to the terms
5389b5a
#   and conditions of the GNU General Public License version 2.
5389b5a
#
5389b5a
#   This program is distributed in the hope that it will be
5389b5a
#   useful, but WITHOUT ANY WARRANTY; without even the implied
5389b5a
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
5389b5a
#   PURPOSE. See the GNU General Public License for more details.
5389b5a
#
5389b5a
#   You should have received a copy of the GNU General Public
5389b5a
#   License along with this program; if not, write to the Free
5389b5a
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
5389b5a
#   Boston, MA 02110-1301, USA.
5389b5a
#
5389b5a
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5389b5a
5389b5a
export TEST=/CoreOS/selinux-policy/Regression/bz538089-plymouth-operations-denied-during-boot
5389b5a
export TESTVERSION=1.0
5389b5a
5389b5a
BUILT_FILES=
5389b5a
5389b5a
FILES=$(METADATA) runtest.sh Makefile PURPOSE
5389b5a
5389b5a
.PHONY: all install download clean
5389b5a
5389b5a
run: $(FILES) build
5389b5a
	./runtest.sh
5389b5a
5389b5a
build: $(BUILT_FILES)
5389b5a
	chmod a+x runtest.sh
5389b5a
	chcon -t bin_t runtest.sh
5389b5a
5389b5a
clean:
5389b5a
	rm -f *~ $(BUILT_FILES)
5389b5a
5389b5a
include /usr/share/rhts/lib/rhts-make.include
5389b5a
5389b5a
$(METADATA): Makefile
5389b5a
	@echo "Owner:           Milos Malik <mmalik@redhat.com>" > $(METADATA)
5389b5a
	@echo "Name:            $(TEST)" >> $(METADATA)
5389b5a
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
5389b5a
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
5389b5a
	@echo "Description:     some plymouth operations are denied during boot because of SELinux" >> $(METADATA)
5389b5a
	@echo "Type:            Regression" >> $(METADATA)
5389b5a
	@echo "TestTime:        30m" >> $(METADATA)
5389b5a
	@echo "RunFor:          selinux-policy" >> $(METADATA)
5389b5a
	@echo "Requires:        audit" >> $(METADATA)
5389b5a
	@echo "Requires:        /usr/sbin/service" >> $(METADATA)
5389b5a
	@echo "Requires:        libselinux" >> $(METADATA)
5389b5a
	@echo "Requires:        libselinux-utils" >> $(METADATA)
5389b5a
	@echo "Requires:        plymouth" >> $(METADATA)
5389b5a
	@echo "Requires:        policycoreutils" >> $(METADATA)
5389b5a
	@echo "Requires:        selinux-policy" >> $(METADATA)
5389b5a
	@echo "Requires:        selinux-policy-targeted" >> $(METADATA)
5389b5a
	@echo "Requires:        setools-console" >> $(METADATA)
5389b5a
	@echo "RhtsRequires:    library(selinux-policy/common)" >> $(METADATA)
5389b5a
	@echo "Priority:        Normal" >> $(METADATA)
5389b5a
	@echo "License:         GPLv2" >> $(METADATA)
5389b5a
	@echo "Confidential:    no" >> $(METADATA)
5389b5a
	@echo "Destructive:     no" >> $(METADATA)
5389b5a
	@echo "Environment:     AVC_ERROR=+no_avc_check" >> $(METADATA)
5389b5a
	@echo "Releases:        -RHEL4 -RHELServer5 -RHELClient5" >> $(METADATA)
5389b5a
	@echo "Bug:             538089" >> $(METADATA) # RHEL-6
5389b5a
	@echo "Bug:             560611" >> $(METADATA) # RHEL-6
5389b5a
	@echo "Bug:             904016" >> $(METADATA) # RHEL-7
5389b5a
	@echo "Bug:             1045382" >> $(METADATA) # RHEL-7
5389b5a
	@echo "Bug:             1131195" >> $(METADATA) # RHEL-6
5389b5a
	@echo "Bug:             1160196" >> $(METADATA) # RHEL-7
5389b5a
	@echo "Bug:             1202429" >> $(METADATA) # Fedora 21
5389b5a
	@echo "Bug:             1517405" >> $(METADATA) # Fedora 27
5389b5a
	@echo "Bug:             1664143" >> $(METADATA) # Fedora 29
5389b5a
	@echo "Bug:             1869814" >> $(METADATA) # RHEL-8
5389b5a
	@echo "Bug:             1871307" >> $(METADATA) # RHEL-8
5389b5a
	@echo "Bug:             2184803" >> $(METADATA) # RHEL-9
5389b5a
	@echo "Bug:             2256442" >> $(METADATA) # Fedora 40
5389b5a
5389b5a
	rhts-lint $(METADATA)
5389b5a