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