odubaj / tests / cpio

Forked from tests/cpio 4 years ago
Clone

Blame Regression/bz1483571-cpio-fails-with-checksum-error-larger-files-200M/Makefile

c7d060f
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c7d060f
#
c7d060f
#   Makefile of /CoreOS/cpio/Regression/bz1483571-cpio-fails-with-checksum-error-larger-files-200M
c7d060f
#   Description: Test for BZ#1483571 (cpio fails with checksum error larger files >~200M)
c7d060f
#   Author: Daniel Rusek <drusek@redhat.com>
c7d060f
#
c7d060f
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c7d060f
#
c7d060f
#   Copyright (c) 2017 Red Hat, Inc.
c7d060f
#
c7d060f
#   This program is free software: you can redistribute it and/or
c7d060f
#   modify it under the terms of the GNU General Public License as
c7d060f
#   published by the Free Software Foundation, either version 2 of
c7d060f
#   the License, or (at your option) any later version.
c7d060f
#
c7d060f
#   This program is distributed in the hope that it will be
c7d060f
#   useful, but WITHOUT ANY WARRANTY; without even the implied
c7d060f
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
c7d060f
#   PURPOSE.  See the GNU General Public License for more details.
c7d060f
#
c7d060f
#   You should have received a copy of the GNU General Public License
c7d060f
#   along with this program. If not, see http://www.gnu.org/licenses/.
c7d060f
#
c7d060f
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c7d060f
c7d060f
export TEST=/CoreOS/cpio/Regression/bz1483571-cpio-fails-with-checksum-error-larger-files-200M
c7d060f
export TESTVERSION=1.0
c7d060f
c7d060f
BUILT_FILES=
c7d060f
c7d060f
FILES=$(METADATA) runtest.sh Makefile PURPOSE
c7d060f
c7d060f
.PHONY: all install download clean
c7d060f
c7d060f
run: $(FILES) build
c7d060f
	./runtest.sh
c7d060f
c7d060f
build: $(BUILT_FILES)
c7d060f
	test -x runtest.sh || chmod a+x runtest.sh
c7d060f
c7d060f
clean:
c7d060f
	rm -f *~ $(BUILT_FILES)
c7d060f
c7d060f
c7d060f
include /usr/share/rhts/lib/rhts-make.include
c7d060f
c7d060f
$(METADATA): Makefile
c7d060f
	@echo "Owner:           Daniel Rusek <drusek@redhat.com>" > $(METADATA)
c7d060f
	@echo "Name:            $(TEST)" >> $(METADATA)
c7d060f
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
c7d060f
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
c7d060f
	@echo "Description:     Test for BZ#1483571 (cpio fails with checksum error larger files >~200M)" >> $(METADATA)
c7d060f
	@echo "Type:            Regression" >> $(METADATA)
c7d060f
	@echo "TestTime:        5m" >> $(METADATA)
c7d060f
	@echo "RunFor:          cpio" >> $(METADATA)
c7d060f
	@echo "Requires:        cpio" >> $(METADATA)
c7d060f
	@echo "Priority:        Normal" >> $(METADATA)
c7d060f
	@echo "License:         GPLv2+" >> $(METADATA)
c7d060f
	@echo "Confidential:    no" >> $(METADATA)
c7d060f
	@echo "Destructive:     no" >> $(METADATA)
c7d060f
	@echo "Bug:             1483571" >> $(METADATA)
c7d060f
	@echo "Bug:             1415081" >> $(METADATA)
c7d060f
	@echo "Releases:        -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
c7d060f
c7d060f
	rhts-lint $(METADATA)