1b6496d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1b6496d
#
1b6496d
#   Makefile of /tools/glibc/Regression/bz1577212-glibc-Remove-stray-Sun-RPC-exports
1b6496d
#   Description: Test for BZ#1577212 (glibc Remove stray Sun RPC exports)
1b6496d
#   Author: Alexandra Hájková <ahajkova@redhat.com>
1b6496d
#
1b6496d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1b6496d
#
1b6496d
#   Copyright (c) 2019 Red Hat, Inc.
1b6496d
#
1b6496d
#   This program is free software: you can redistribute it and/or
1b6496d
#   modify it under the terms of the GNU General Public License as
1b6496d
#   published by the Free Software Foundation, either version 2 of
1b6496d
#   the License, or (at your option) any later version.
1b6496d
#
1b6496d
#   This program is distributed in the hope that it will be
1b6496d
#   useful, but WITHOUT ANY WARRANTY; without even the implied
1b6496d
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
1b6496d
#   PURPOSE.  See the GNU General Public License for more details.
1b6496d
#
1b6496d
#   You should have received a copy of the GNU General Public License
1b6496d
#   along with this program. If not, see http://www.gnu.org/licenses/.
1b6496d
#
1b6496d
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1b6496d
1b6496d
export TEST=/tools/glibc/Regression/bz1577212-glibc-Remove-stray-Sun-RPC-exports
1b6496d
export TESTVERSION=1.0
1b6496d
1b6496d
BUILT_FILES=
1b6496d
1b6496d
FILES=$(METADATA) runtest.sh Makefile PURPOSE
1b6496d
1b6496d
.PHONY: all install download clean
1b6496d
1b6496d
run: $(FILES) build
1b6496d
	./runtest.sh
1b6496d
1b6496d
build: $(BUILT_FILES)
1b6496d
	test -x runtest.sh || chmod a+x runtest.sh
1b6496d
1b6496d
clean:
1b6496d
	rm -f *~ $(BUILT_FILES)
1b6496d
1b6496d
1b6496d
include /usr/share/rhts/lib/rhts-make.include
1b6496d
1b6496d
$(METADATA): Makefile
1b6496d
	@echo "Owner:           Alexandra Hájková <ahajkova@redhat.com>" > $(METADATA)
1b6496d
	@echo "Name:            $(TEST)" >> $(METADATA)
1b6496d
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
1b6496d
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
1b6496d
	@echo "Description:     Test for BZ#1577212 (glibc Remove stray Sun RPC exports)" >> $(METADATA)
1b6496d
	@echo "Type:            Regression" >> $(METADATA)
1b6496d
	@echo "TestTime:        1h" >> $(METADATA)
1b6496d
	@echo "RunFor:          glibc" >> $(METADATA)
1b6496d
	@echo "Requires:        glibc elfutils" >> $(METADATA)
1b6496d
	@echo "Priority:        Normal" >> $(METADATA)
1b6496d
	@echo "License:         GPLv2+" >> $(METADATA)
1b6496d
	@echo "Confidential:    no" >> $(METADATA)
1b6496d
	@echo "Destructive:     no" >> $(METADATA)
1b6496d
	@echo "Bug:             1577212" >> $(METADATA)
1b6496d
	@echo "Releases:        -RHEL4 -RHEL5 -RHEL6 -RHEL7" >> $(METADATA)
1b6496d
1b6496d
	rhts-lint $(METADATA)