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