Blame tests/readlink-cannot-handle-recursive-symlinks/Makefile

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