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