|
Mike Gahagan |
ce1afc |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# Makefile of /CoreOS/openssh/Sanity/port-forwarding
|
|
Mike Gahagan |
ce1afc |
# Description: Testing port forwarding (ideally all possibilities: -L, -R, -D)
|
|
Mike Gahagan |
ce1afc |
# Author: Stanislav Zidek <szidek@redhat.com>
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# Copyright (c) 2015 Red Hat, Inc.
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# This program is free software: you can redistribute it and/or
|
|
Mike Gahagan |
ce1afc |
# modify it under the terms of the GNU General Public License as
|
|
Mike Gahagan |
ce1afc |
# published by the Free Software Foundation, either version 2 of
|
|
Mike Gahagan |
ce1afc |
# the License, or (at your option) any later version.
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# This program is distributed in the hope that it will be
|
|
Mike Gahagan |
ce1afc |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
Mike Gahagan |
ce1afc |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
Mike Gahagan |
ce1afc |
# PURPOSE. See the GNU General Public License for more details.
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# You should have received a copy of the GNU General Public License
|
|
Mike Gahagan |
ce1afc |
# along with this program. If not, see http://www.gnu.org/licenses/.
|
|
Mike Gahagan |
ce1afc |
#
|
|
Mike Gahagan |
ce1afc |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
export TEST=/CoreOS/openssh/Sanity/port-forwarding
|
|
Mike Gahagan |
ce1afc |
export TESTVERSION=1.0
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
BUILT_FILES=
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
.PHONY: all install download clean
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
run: $(FILES) build
|
|
Mike Gahagan |
ce1afc |
./runtest.sh
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
build: $(BUILT_FILES)
|
|
Mike Gahagan |
ce1afc |
test -x runtest.sh || chmod a+x runtest.sh
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
clean:
|
|
Mike Gahagan |
ce1afc |
rm -f *~ $(BUILT_FILES)
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
|
|
Jakub Jelen |
b4cbb0 |
-include /usr/share/rhts/lib/rhts-make.include
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
$(METADATA): Makefile
|
|
Mike Gahagan |
ce1afc |
@echo "Owner: Stanislav Zidek <szidek@redhat.com>" > $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Name: $(TEST)" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Description: Testing port forwarding (ideally all possibilities: -L, -R, -D)" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Type: Sanity" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "TestTime: 5m" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "RunFor: openssh" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Requires: openssh net-tools nc" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Priority: Normal" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "License: GPLv2+" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Confidential: yes" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Destructive: no" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
|
|
Mike Gahagan |
ce1afc |
|
|
Mike Gahagan |
ce1afc |
rhts-lint $(METADATA)
|