selinux/kernel/labeled-cephfs/Makefile
Ondrej Mosnacek 2d4ef6a0da kernel: add test for CephFS labeling
The test verifies expected behavior of CephFS security label support
across distros.

Note that for the test to work RHEL, an appropriate Ceph repo must be
installed. A scriptlet that sets this up can be provided via the
INSTALL_SCRIPTLET parameter.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-04-21 11:38:54 +02:00

27 lines
936 B
Makefile

export TEST=/kernel/Regression/selinux-cephfs-labeling
export TESTVERSION=0.1
FILES=$(METADATA) runtest.sh Makefile
.PHONY: all clean
run: $(FILES)
./runtest.sh
clean:
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Ondrej Mosnacek <omosnace@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: Test for correct CephFS SELinux labeling" >> $(METADATA)
@echo "Type: Regression" >> $(METADATA)
@echo "TestTime: 30m" >> $(METADATA)
@echo "Requires: openssh-server openssh-clients python3-pip ceph attr" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2+" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)