Blame tar-using-remote-host-via-ssh/Makefile

b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
#
b417179
#   Makefile of /CoreOS/tar/Sanity/tar-using-remote-host-via-ssh
b417179
#   Description: It would be nice to have also tested the default behaviour over ssh.
b417179
#   Author: Petr Sklenar <psklenar@redhat.com>
b417179
#
b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
#
b417179
#   Copyright (c) 2013 Red Hat, Inc. All rights reserved.
b417179
#
b417179
#   This copyrighted material is made available to anyone wishing
b417179
#   to use, modify, copy, or redistribute it subject to the terms
b417179
#   and conditions of the GNU General Public License version 2.
b417179
#
b417179
#   This program is distributed in the hope that it will be
b417179
#   useful, but WITHOUT ANY WARRANTY; without even the implied
b417179
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
b417179
#   PURPOSE. See the GNU General Public License for more details.
b417179
#
b417179
#   You should have received a copy of the GNU General Public
b417179
#   License along with this program; if not, write to the Free
b417179
#   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
b417179
#   Boston, MA 02110-1301, USA.
b417179
#
b417179
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b417179
b417179
export TEST=/CoreOS/tar/Sanity/tar-using-remote-host-via-ssh
b417179
export TESTVERSION=1.1
b417179
b417179
BUILT_FILES=
b417179
b417179
FILES=$(METADATA) runtest.sh Makefile
b417179
b417179
.PHONY: all install download clean
b417179
b417179
run: $(FILES) build
b417179
	./runtest.sh
b417179
b417179
build: $(BUILT_FILES)
b417179
	test -x runtest.sh || chmod a+x runtest.sh
b417179
b417179
clean:
b417179
	rm -f *~ $(BUILT_FILES)
b417179
b417179
b417179
include /usr/share/rhts/lib/rhts-make.include
b417179
b417179
$(METADATA): Makefile
b417179
	@echo "Owner:           Petr Sklenar <psklenar@redhat.com>" > $(METADATA)
b417179
	@echo "Name:            $(TEST)" >> $(METADATA)
b417179
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
b417179
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
b417179
	@echo "Description:     It would be nice to have also tested the default behaviour over ssh." >> $(METADATA)
b417179
	@echo "Type:            Sanity" >> $(METADATA)
b417179
	@echo "TestTime:        15m" >> $(METADATA)
b417179
	@echo "RunFor:          tar ssh" >> $(METADATA)
b417179
	@echo "Requires:        tar rmt ssh rsh" >> $(METADATA)
b417179
	@echo "Priority:        Normal" >> $(METADATA)
b417179
	@echo "License:         GPLv2" >> $(METADATA)
b417179
	@echo "Confidential:    no" >> $(METADATA)
b417179
	@echo "Destructive:     no" >> $(METADATA)
b417179
b417179
	rhts-lint $(METADATA)