1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# Copyright (c) 2006 Red Hat, Inc. All rights reserved. This copyrighted material
# is made available to anyone wishing to use, modify, copy, or
# redistribute it subject to the terms and conditions of the GNU General
# Public License v.2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Author: Bill Peck <bpeck@redhat.com>
# The name of the package under test
PACKAGE_NAME=kernel
# The toplevel namespace within which the test lives.
TOPLEVEL_NAMESPACE=/$(PACKAGE_NAME)
# The path of the test below the package
RELATIVE_PATH=filesystems/nfs/connectathon
# The relative path name to the test
export TEST=$(TOPLEVEL_NAMESPACE)/$(RELATIVE_PATH)
# The redhat rpm test package version
export TESTVERSION=3.0
FILES= $(METADATA) \
runtest.sh \
nfstests.tar.gz \
patch \
434966lock.patch \
Makefile \
hostnamefix.patch \
filter_nroff_warnings.patch
dopatch:
(cd cthon04; cat ../patch | patch -p1)
patch -p0<434966lock.patch
patch -p0<hostnamefix.patch
patch -p1<filter_nroff_warnings.patch
unpack:
tar -zxvf ./nfstests.tar.gz
build: unpack dopatch
(cd cthon04; make)
clean:
rm -f *~ $(METADATA)
rm -f rh-tests-kernel-filesystems-nfs-connectathon*
run: build
chmod a+x ./runtest.sh
./runtest.sh
include /usr/share/rhts/lib/rhts-make.include
$(METADATA):
@touch $(METADATA)
@echo "Owner: Bill Peck <bpeck@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Description: Connectathon Testsuite\
to test NFS versions 2,3 and 4." >> $(METADATA)
@echo "TestTime: 150m" >> $(METADATA)
@echo "RunFor: kernel" >> $(METADATA)
@echo "RunFor: nfs-utils" >> $(METADATA)
@echo "Requires: nfs-utils" >> $(METADATA)
@echo "Requires: net-tools" >> $(METADATA)
@echo "Requires: net-snmp" >> $(METADATA)
@echo "Requires: ethereal" >> $(METADATA)
@echo "Requires: wireshark" >> $(METADATA)
@echo "Requires: tcpdump" >> $(METADATA)
@echo "Requires: rusers" >> $(METADATA)
@echo "Requires: bzip2" >> $(METADATA)
@echo "Requires: gcc" >> $(METADATA)
@echo "Priority: Medium" >> $(METADATA)
@echo "Type: Regression" >> $(METADATA)
@echo "Type: Tier1" >> $(METADATA)
@echo "Type: KernelTier1" >> $(METADATA)
@echo "License: GPL v2" >> $(METADATA)
|