blob: c9cd2b93df17d33cce1d66fe7015e1140ed908a5 [file] [log] [blame]
alaffin802d3e32000-08-23 20:04:23 +00001#!/bin/sh
iyermanoj1d9a9632003-10-07 17:17:00 +00002################################################################################
3## ##
4## Copyright (c) International Business Machines Corp., 2001 ##
5## ##
6## This program is free software; you can redistribute it and#or modify ##
7## it under the terms of the GNU General Public License as published by ##
8## the Free Software Foundation; either version 2 of the License, or ##
9## (at your option) any later version. ##
10## ##
11## This program is distributed in the hope that it will be useful, but ##
12## WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ##
13## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ##
14## for more details. ##
15## ##
16## You should have received a copy of the GNU General Public License ##
17## along with this program; if not, write to the Free Software ##
18## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ##
19## ##
20################################################################################
subrata_modak7214c772008-09-08 11:56:11 +000021## File: runalltests.sh ##
22## ##
23## Description: This script just calls runltp now, and is being phased out. ##
24## If you rely on this script for automation reasons, please ##
25## ##
26## History Subrata Modak <subrata@linuc.vnet.ibm.com> changed the code ##
27## to include testing other testcases which are not run by ##
28## default, 08/09/2008 ##
29## ##
30################################################################################
robbiew23796112003-02-05 16:28:37 +000031
yaberauneyac869a5d2009-11-12 20:55:25 +000032export LTPROOT=${0%/*}
33RUNLTP="$LTPROOT/runltp"
34
subrata_modak6d561072009-07-08 17:53:47 +000035echo "*******************************************************************"
36echo "*******************************************************************"
37echo "** **"
yaberauneyac869a5d2009-11-12 20:55:25 +000038echo "** This script is being re-written to cover all aspects of **"
39echo "** testing LTP, which includes running all those tests which **"
40echo "** are not run by default with $RUNLTP script. Special setup **"
41echo "** in system environment will be done to run all those tests **"
42echo "** like the File System tests, SELinuxtest, etc **"
subrata_modak6d561072009-07-08 17:53:47 +000043echo "** **"
44echo "*******************************************************************"
45echo "*******************************************************************"
subrata_modakfa2f0822008-10-30 06:32:03 +000046
subrata_modaka9e52282008-11-07 08:54:25 +000047export RUN_BALLISTA=0
48export RUN_OPENPOSIX=0
subrata_modakfa2f0822008-10-30 06:32:03 +000049## Set this to 1 if mm-1.4.2.tar.gz is already installed in your system
50## from ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
subrata_modaka9e52282008-11-07 08:54:25 +000051export RUN_MM_CORE_APIS=0
subrata_modakfa2f0822008-10-30 06:32:03 +000052export LIBMM_INSTALLED=0
53## This is required if already not set to /usr/local/lib/ as
54## mm-1.4.2.tar.gz gets installed at /usr/local/lib/
subrata_modaka9e52282008-11-07 08:54:25 +000055export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/:/lib/
56export PATH=$PATH:/sbin/
subrata_modak4922de52008-09-22 10:20:03 +000057
subrata_modak6c4981e2008-10-30 09:42:34 +000058## Set this to 1 if libaio-0.3.92.tar.gz is already installed in your system
59## from http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.gz
subrata_modaka9e52282008-11-07 08:54:25 +000060export RUN_AIOTESTS=0
subrata_modak6c4981e2008-10-30 09:42:34 +000061export LIBAIO_INSTALLED=0
62
subrata_modaka9e52282008-11-07 08:54:25 +000063## Set this to 1 if libcaps-2.11 or newer is already installed in your system
64## from ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2, as well as,
65## the libattr is available in the system. The kernel should also have been built
66## with the following option: CONFIG_SECURITY_FILE_CAPABILITIES=y
67export RUN_FILECAPS=0
68export LIBCAPS_INSTALLED=0
69export LIBATTR_INSTALLED=0
70
subrata_modak59753512008-12-29 11:00:00 +000071## Set this to 1 if you wish to execute the stress_cd tests
72## Make sure you have FLOPPY inserted, be warned that you
73## will loose all data on it after the tests,
74export RUN_STRESS_FLOPPY=0
75
76## Set this to 1 if you wish to execute the stress_floppy tests
77## Make sure you have CD inserted in your CD-ROM drive,
78export RUN_STRESS_CD=0
subrata_modaka9e52282008-11-07 08:54:25 +000079
subrata_modak773c40c2008-12-31 04:36:19 +000080##Set this to 1 if you wish to run the CPUHOTPLUG tests
subrata_modak6111aa82008-12-29 11:04:15 +000081export RUN_CPU_HOTPLUG=0
82
subrata_modak773c40c2008-12-31 04:36:19 +000083##Set this to 1 if you wish to run the LTP-NETWORK tests. Please refer to:
84## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
85## for more information on how to run the tests.
86export RUN_LTP_NETWORK_TESTS=0
87
subrata_modak32b726f2008-12-31 04:37:33 +000088##Set this to 1 if you wish to run the LTP-NETWORK-STRESS tests. Please refer to:
89## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
90## and http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/stress/README
91## for more information on how to run the NETWORK-STRESS tests.
92export RUN_LTP_NETWORK_STRESS_TESTS=0
93
subrata_modakeebedc22008-12-31 04:38:13 +000094## Set this to 1 if you wish to run the ltp/testscripts/adp tests
95export RUN_LTP_ADP_TESTS=0
96
subrata_modak89103242008-12-31 04:38:53 +000097## Set this to 1 if you wish to run the AUTOFS tests
98# REQUIREMENTS:
99# 1) System with a floppy device with a floppy disk in it.
100# 2) A spare (scratch) disk partition of 100MB or larger.
101export RUN_LTP_AUTOFS1_TESTS=0
102export RUN_LTP_AUTOFS4_TESTS=0
103export DISK_PARTITION1=0
104
subrata_modakb9cff9e2008-12-31 04:39:57 +0000105## Set this to 1 if you wish to run the EXPORTFS tests
106# DESCRIPTION : A script that will test exportfs on Linux system.
107# REQUIREMENTS:
108# 1) NFS Server system with rsh enabled between client & server.
109# 2) 100MB Disk partition on NFS server.
110export RUN_EXPORTFS_TESTS=0
111export NFS_SERVER1=xxx
112export NFS_SERVER_DISK_PARTITION1=yyy
113export NFS_SERVER_FS_TYPE1=zzz
114
subrata_modak8720d022008-12-31 04:40:31 +0000115
116## Set this to 1 if you wish to run the FS tests on READ ONLY File Systems. Refer to http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testscripts/Readme_ROBind for more info
117export RUN_RO_ONLY_FS_TESTS=0
118export READ_ONLY_DIRECTORY1=xxxx
119
subrata_modak8a70e702008-12-31 04:41:04 +0000120## Set this to 1 if you wish to run the ISOFS tests
121# REQUIREMENTS:
122# Must have root access to execute this script
123export RUN_ISOFS_TESTS=0
124
subrata_modak46817bf2008-12-31 04:41:41 +0000125## Set this to 1 if you wish to run the DMMAPPER tests
126#Note: In order to run this test, you must turn on "device mapper"
127# component in kernel (it is under device drivers item when you
128# run make menuconfig); and you must install userspace supporting
129# files (libdevmapper and dmsetup). They are in the device-mapper
130# package. You can download it from http://www.sistina.com. Follow
131# the README/INSTALL file within the package to install it.
132export RUN_DMMAPPER_TESTS=0
133export DISK_PARTITION2=xxxxx
134export DISK_PARTITION3=yyyyy
135
subrata_modak5fb342d2008-12-31 04:42:19 +0000136## Set this to 1 if you wish to run the FSLVM tests
137#Note: fdisk needs to be run and the 4 HD partitions marked as 0x8e -- Linux LVM
138# - If this is run on a 2.4 kernel system then LVM must be configured and the kernel rebuilt. In a 2.5 environment
139# you must configure Device Mapper and install LVM2 from www.systina.com for the testcase to run correctly.
140# - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
141# Once these tests are started all data in the partitions you point to will be destroyed.
142export RUN_FSLVM_TESTS=0
143export DISK_PARTITION4=xxxxxx
144export DISK_PARTITION5=yyyyyy
145export DISK_PARTITION6=zzzzzz
146export DISK_PARTITION7=iiiiii
147export NFS_PARTITION1=jjjjjj
148
subrata_modak22d9e0b2008-12-31 04:43:00 +0000149## Set this to 1 if you wish to run the FSNOLVM tests
150#Note: fdisk needs to be run and the 4 HD partitions marked as 0x8e -- Linux LVM
151# - If this is run on a 2.4 kernel system then LVM must be configured and the kernel rebuilt. In a 2.5 environment
152# you must configure Device Mapper and install LVM2 from www.systina.com for the testcase to run correctly.
153# - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
154# Once these tests are started all data in the partitions you point to will be destroyed.
155export RUN_FSNOLVM_TESTS=0
156
subrata_modak49798822008-12-31 04:43:31 +0000157## Set this to 1 if you wish to run the LTP SCSI DEBUG tests
158#Note: Build scsi_debug as a module first before running the test
159export RUN_LTP_SCSI_DEBUG_TEST=0
160
subrata_modak85bf15f2008-12-31 04:44:04 +0000161## Set this to 1 if you wish to run the LTP SYSFS tests
162#Note: Must have root access to execute this script.
163# USAGE : sysfs.sh [ -k <kernel_module> ]
164# DESCRIPTION : A script that will test sysfs on Linux system.
165# REQUIREMENTS: CONFIG_DUMMY must have been used to build kernel, and the
166# dummy network module must exist.
167export RUN_LTP_SYSFS_TEST=0
168export KERNEL_MODULE1=xxxxxxx
169
subrata_modakcbabba42008-12-31 04:45:13 +0000170## Set this to 1 if you wish to run the LTP TIRPC tests
171export RUN_LTP_TIRPC_TEST=0
172
subrata_modak56772962008-12-31 04:46:15 +0000173##Set this to 1 if you wish to run the SE-Linux tests
174# These testcases test the SELinux Security Module.
175# A kernel with SELinux configured, and SELinux policy and userspace
176# tools installed, are required to build and run the SELinux testsuite.
177# Also, /usr/sbin should be included in PATH to ensure SELinux utilities
178# such as getenforce are found. The test_selinux.sh script adds /usr/sbin
179# to the PATH.
180# You must also have the line:
181# expand-check = 0
182# in your /etc/selinux/semanage.conf file as the test policy will violate some
183# of the neverallow rules in the base policy. This line may already be present
184# depending on your distribution; if not, add it before running the test suite
185# and remove it when done. For more info, please refer to:
186# http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/security/selinux-testsuite/README
187export RUN_SE_LINUX_TESTS=0
188
subrata_modakf1e6f342009-01-27 13:54:49 +0000189##Set this to 1 if you wish to run the dma_thread_diotest7 test
190export RUN_DMA_THREAD_DIOTEST7=0
191
subrata_modak9ef22d62009-03-02 15:38:49 +0000192##Set this to 1 if you wish to run the Controller area network (CAN)
193##protocol support tests. You would also like to review the Kernel
194##config options need to be set for this at ltp/README
195export RUN_CONTROLLER_AREA_NETWORK_TESTS=0
196
subrata_modak6c7dfab2009-03-19 07:27:04 +0000197##Set this to 1 if you wish to run the SMACK Security tests
198## Remember that you cannot run both the SELINUX and SMACK tests at a time,
199## as both of them cannot be tested in the same running kernel
200export RUN_SMACK_SECURITY_TESTS=0
201
subrata_modakd1791512009-04-02 06:46:36 +0000202##Set this to 1 if you wish to run the Basic PERFORMANCE COUNTER tests
203export RUN_PERFORMANCE_COUNTERS_TESTS=0
204
yaberauneyac869a5d2009-11-12 20:55:25 +0000205export LTP_VERSION=`"${RUNLTP}" -e`
subrata_modak4922de52008-09-22 10:20:03 +0000206export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
207export HARDWARE_TYPE=$(uname -i)
208export HOSTNAME=$(uname -n)
209export KERNEL_VERSION=$(uname -r)
subrata_modak5fb342d2008-12-31 04:42:19 +0000210export HTML_OUTPUT_FILE_NAME=$LTP_VERSION_$HOSTNAME_$KERNEL_VERSION_$HARDWARE_TYPE_$TEST_START_TIME.html
subrata_modak4922de52008-09-22 10:20:03 +0000211
yaberauneya5bdf3b22009-11-12 20:57:26 +0000212if ! cd "${LTPROOT}"; then
213 rc=$?
214 echo "${0##*/}: ERROR : Could not cd to ${LTPROOT}"
215 exit $rc
216fi
subrata_modak4922de52008-09-22 10:20:03 +0000217
218## The First one i plan to run is the default LTP run ##
219## START => Test Series 1 ##
subrata_modak6d561072009-07-08 17:53:47 +0000220echo "Running Default LTP..."
yaberauneyac869a5d2009-11-12 20:55:25 +0000221"${RUNLTP}" -g $HTML_OUTPUT_FILE_NAME
subrata_modak6d561072009-07-08 17:53:47 +0000222printf "Completed running Default LTP\n\n\n"
subrata_modak4922de52008-09-22 10:20:03 +0000223## END => Test Series 1 ##
224
225## The next one i plan to run is ballista ##
226## START => Test Series 2 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000227if [ $RUN_BALLISTA -eq 1 ]
228then
subrata_modak6d561072009-07-08 17:53:47 +0000229 echo "Running Ballista..."
subrata_modaka9e52282008-11-07 08:54:25 +0000230 export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
yaberauneyac869a5d2009-11-12 20:55:25 +0000231 "${RUNLTP}" -f ballista -o $LTP_VERSION-BALLISTA_RUN_ON-$HOSTNAME-$KERNEL_VERSION-$HARDWARE_TYPE-$TEST_START_TIME.out
subrata_modak6d561072009-07-08 17:53:47 +0000232 printf "Completed running Ballista\n\n\n"
subrata_modaka9e52282008-11-07 08:54:25 +0000233fi
subrata_modak4922de52008-09-22 10:20:03 +0000234## END => Test Series 2 ##
235
236## The next one i plan to run is open_posix_testsuite ##
237## START => Test Series 3 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000238if [ $RUN_OPENPOSIX -eq 1 ]
239then
subrata_modak6d561072009-07-08 17:53:47 +0000240 echo "Running Open Posix Tests..."
subrata_modaka9e52282008-11-07 08:54:25 +0000241 (cd testcases/open_posix_testsuite; make)
subrata_modak6d561072009-07-08 17:53:47 +0000242 printf "Completed running Open Posix Tests\n\n\n"
subrata_modaka9e52282008-11-07 08:54:25 +0000243fi
subrata_modak4922de52008-09-22 10:20:03 +0000244## END => Test Series 3 ##
245
subrata_modakfa2f0822008-10-30 06:32:03 +0000246
247## The next one i plan to run is ##
248## ltp/testcases/kernel/mem/libmm/mm_core_apis ##
249## START => Test Series 4 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000250if [ $RUN_MM_CORE_APIS -eq 1 ]
subrata_modakfa2f0822008-10-30 06:32:03 +0000251then
subrata_modak6d561072009-07-08 17:53:47 +0000252 echo "Initializing ltp/testcases/kernel/mem/libmm/mm_core_apis ..."
subrata_modaka9e52282008-11-07 08:54:25 +0000253 # Check to see if User is Root
subrata_modak6d561072009-07-08 17:53:47 +0000254 if [ $(id -u) -ne 0 ]
subrata_modakfa2f0822008-10-30 06:32:03 +0000255 then
subrata_modaka9e52282008-11-07 08:54:25 +0000256 echo You need to be root to Install libmm and run mem/libmm/mm_core_apis
257 echo Aborting ltp/testcases/kernel/mem/libmm/mm_core_apis
subrata_modakfa2f0822008-10-30 06:32:03 +0000258 else
subrata_modaka9e52282008-11-07 08:54:25 +0000259 if [ $LIBMM_INSTALLED -ne 1 ]
260 then
261 echo Installing libmm-1.4.2 .............
262 (cd /tmp; \
263 wget -c ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz; \
264 tar -xzf mm-1.4.2.tar.gz; \
265 cd mm-1.4.2; \
266 ./configure && make && make install )
267 rm -rf /tmp/mm-1.4.2*
268 echo libmm-1.4.2 Installed .............
269 else
270 echo libmm-1.4.2 already installed in your system
271 fi
subrata_modak6d561072009-07-08 17:53:47 +0000272 echo "Running ltp/testcases/kernel/mem/libmm/mm_core_apis ..."
subrata_modaka9e52282008-11-07 08:54:25 +0000273 (cd testcases/kernel/mem/libmm; \
274 make; \
275 make install; \
276 $LTPROOT/testcases/bin/mm_core_apis; )
277 fi
subrata_modak6d561072009-07-08 17:53:47 +0000278 printf "Completed running ltp/testcases/kernel/mem/libmm/mm_core_apis...\n\n\n"
subrata_modakfa2f0822008-10-30 06:32:03 +0000279fi
subrata_modakfa2f0822008-10-30 06:32:03 +0000280## END => Test Series 4 ##
281
subrata_modak6c4981e2008-10-30 09:42:34 +0000282
283## The next one i plan to run is ##
284## ltp/testcases/kernel/io/aio ##
285## START => Test Series 5 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000286if [ $RUN_AIOTESTS -eq 1 ]
subrata_modak6c4981e2008-10-30 09:42:34 +0000287 then
subrata_modak6d561072009-07-08 17:53:47 +0000288 echo "Initializing ltp/testcases/kernel/io/aio ..."
subrata_modaka9e52282008-11-07 08:54:25 +0000289 # Check to see if User is Root
subrata_modak6d561072009-07-08 17:53:47 +0000290 if [ $(id -u) -ne 0 ]
subrata_modaka9e52282008-11-07 08:54:25 +0000291 then
292 echo You need to be root to Install libaio-0.3.92 and run ltp/testcases/kernel/io/aio
293 echo Aborting ltp/testcases/kernel/io/aio
subrata_modak6c4981e2008-10-30 09:42:34 +0000294 else
subrata_modaka9e52282008-11-07 08:54:25 +0000295 if [ $LIBAIO_INSTALLED -ne 1 ]
296 then
297 echo Installing libaio-0.3.92.............
298 (cd /tmp; \
299 wget -c http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.gz; \
300 tar -xzf libaio-0.3.92.tar.gz; \
301 cd libaio-0.3.92; \
302 make > /dev/null && make install > /dev/null)
303 rm -rf /tmp/libaio-0.3.92*
304 echo libaio-0.3.92 Installed .............
305 else
306 echo libaio-0.3.92 already installed in your system
307 fi
subrata_modak6d561072009-07-08 17:53:47 +0000308 echo "Building & Running ltp/testcases/kernel/io/aio..."
subrata_modak6c4981e2008-10-30 09:42:34 +0000309 (cd testcases/kernel/io/aio; \
310 make > /dev/null; \
311 ./aio01/aio01; \
312 ./aio02/runfstests.sh -a aio02/cases/aio_tio; \
313 make clean 1>&2 > /dev/null )
subrata_modak6d561072009-07-08 17:53:47 +0000314 printf "Completed running ltp/testcases/kernel/io/aio...\n\n\n"
subrata_modaka9e52282008-11-07 08:54:25 +0000315 fi
subrata_modak6c4981e2008-10-30 09:42:34 +0000316fi
317## END => Test Series 5 ##
318
subrata_modaka9e52282008-11-07 08:54:25 +0000319
320
321## The next one i plan to run is ##
322## ltp/testcases/kernel/security/filecaps ##
323## START => Test Series 6 ##
324if [ $RUN_FILECAPS -eq 1 ]
325then
subrata_modak6d561072009-07-08 17:53:47 +0000326 echo "Initializing ltp/testcases/kernel/security/filecaps ..."
subrata_modaka9e52282008-11-07 08:54:25 +0000327 # Check to see if User is Root
subrata_modak6d561072009-07-08 17:53:47 +0000328 if [ $(id -u) -ne 0 ]
subrata_modaka9e52282008-11-07 08:54:25 +0000329 then
330 echo You need to be root to Install libcaps and run ltp/testcases/kernel/security/filecaps
331 echo Aborting ltp/testcases/kernel/security/filecaps
332 else
333 if [ $LIBCAPS_INSTALLED -ne 1 ]
334 then
335 echo Installing libcaps.............
336 (cd /tmp; \
337 wget -c ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.14.tar.gz; \
338 tar -xzf libcap-2.14.tar.gz; \
339 cd libcap-2.14; \
340 make > /dev/null && make install > /dev/null)
341 rm -rf /tmp/libcap-2.14*
342 echo libcaps Installed .............
343 else
344 echo libcaps already installed in your system
345 fi
subrata_modak6d561072009-07-08 17:53:47 +0000346 echo "Building & Running ltp/testcases/kernel/security/filecaps"
subrata_modaka9e52282008-11-07 08:54:25 +0000347 (cd ltp/testcases/kernel/security/filecaps; \
348 make && make install > /dev/null; )
yaberauneyac869a5d2009-11-12 20:55:25 +0000349 "${RUNLTP}" -f filecaps
subrata_modak6d561072009-07-08 17:53:47 +0000350 printf "Completed running ltp/testcases/kernel/io/aio...\n\n\n"
subrata_modaka9e52282008-11-07 08:54:25 +0000351 fi
352fi
353## END => Test Series 6 ##
subrata_modak89aaf8c2008-11-13 10:06:36 +0000354
355
356## The next one i plan to run is tpm_tools ##
357## START => Test Series 7 ##
yaberauneyac869a5d2009-11-12 20:55:25 +0000358"${RUNLTP}" -f tpm_tools
subrata_modak89aaf8c2008-11-13 10:06:36 +0000359## END => Test Series 7 ##
subrata_modak86785aa2008-12-19 08:52:39 +0000360
361## The next one i plan to run is tcore_patch_test_suites
362## START => Test Series 8 ##
yaberauneyac869a5d2009-11-12 20:55:25 +0000363"${RUNLTP}" -f tcore
subrata_modak86785aa2008-12-19 08:52:39 +0000364## END => Test Series 8 ##
subrata_modak59753512008-12-29 11:00:00 +0000365
366
367## The next one i plan to run is stress_cd tests
368## START => Test Series 9 ##
369if [ $RUN_STRESS_CD -eq 1 ]
370then
yaberauneyac869a5d2009-11-12 20:55:25 +0000371"${RUNLTP}" -f io_cd
subrata_modak59753512008-12-29 11:00:00 +0000372fi
373## END => Test Series 9 ##
374
375## The next one i plan to run is stress_floppy tests
376## START => Test Series 10 ##
377if [ $RUN_STRESS_FLOPPY -eq 1 ]
378then
yaberauneyac869a5d2009-11-12 20:55:25 +0000379"${RUNLTP}" -f io_floppy
subrata_modak59753512008-12-29 11:00:00 +0000380fi
381## END => Test Series 10 ##
382
subrata_modak6111aa82008-12-29 11:04:15 +0000383## The next one i plan to run is CPUHOTPLUG tests
384## START => Test Series 11 ##
385if [ $RUN_CPU_HOTPLUG -eq 1 ]
386then
yaberauneyac869a5d2009-11-12 20:55:25 +0000387"${RUNLTP}" -f cpuhotplug
subrata_modak6111aa82008-12-29 11:04:15 +0000388fi
389## END => Test Series 11 ##
390
subrata_modak773c40c2008-12-31 04:36:19 +0000391## The next one i plan to run are the LTP Network tests
392## START => Test Series 12 ##
393if [ $RUN_LTP_NETWORK_TESTS -eq 1 ]
394then
395(cd $LTPROOT/testscripts/; ./networktests.sh)
396fi
397## END => Test Series 12 ##
398
subrata_modak32b726f2008-12-31 04:37:33 +0000399## The next one i plan to run are the LTP Network Stress tests
400## START => Test Series 13 ##
401if [ $RUN_LTP_NETWORK_STRESS_TESTS -eq 1 ]
402then
403(cd $LTPROOT/testscripts/; ./networkstress.sh)
404fi
405## END => Test Series 13 ##
subrata_modak773c40c2008-12-31 04:36:19 +0000406
subrata_modakeebedc22008-12-31 04:38:13 +0000407
408## The next one i plan to run are the LTP ADP tests
409## START => Test Series 14 ##
410if [ $RUN_LTP_ADP_TESTS -eq 1 ]
411then
412(cd $LTPROOT/testscripts/; ./adp.sh -d 3 -n 100)
413fi
414## END => Test Series 14 ##
subrata_modak89103242008-12-31 04:38:53 +0000415
416
417## The next one i plan to run are the LTP AUTOFS tests
418## START => Test Series 15 ##
419if [ $RUN_LTP_AUTOFS1_TESTS -eq 1 ]
420then
421 if [ $DISK_PARTITION1 ]
422 then
423 (cd $LTPROOT/testscripts/; ./autofs1.sh $DISK_PARTITION1)
424 else
425 echo Disk Partition not set. Aborting running AUTOFS1
426 fi
427fi
428if [ $RUN_LTP_AUTOFS4_TESTS -eq 1 ]
429then
430 if [ $DISK_PARTITION1 ]
431 then
432 (cd $LTPROOT/testscripts/; ./autofs4.sh $DISK_PARTITION1)
433 else
434 echo Disk Partition not set. Aborting running AUTOFS4
435 fi
436fi
437## END => Test Series 15 ##
subrata_modakb9cff9e2008-12-31 04:39:57 +0000438
439
440## The next one i plan to run are the LTP EXPORTFS tests
441## START => Test Series 16 ##
442if [ $RUN_EXPORTFS_TESTS -eq 1 ]
443then
444(cd $LTPROOT/testscripts/; ./exportfs.sh -h $NFS_SERVER1 -d $NFS_SERVER_DISK_PARTITION1 -t $NFS_SERVER_FS_TYPE1)
445fi
446## END => Test Series 16 ##
subrata_modak8720d022008-12-31 04:40:31 +0000447
448
449## The next one i plan to run the FS tests on READ ONLY File Systems
450## START => Test Series 17 ##
451if [ $RUN_RO_ONLY_FS_TESTS -eq 1 ]
452then
453(cd $READ_ONLY_DIRECTORY1; sh $LTPROOT/testscripts/test_robind.sh)
454fi
455## END => Test Series 17 ##
456
457
subrata_modak8a70e702008-12-31 04:41:04 +0000458## The next one i plan to run the ISOFS tests
459## START => Test Series 18 ##
460if [ $RUN_ISOFS_TESTS -eq 1 ]
461then
462(cd $LTPROOT/testscripts/; ./isofs.sh)
463fi
464## END => Test Series 18 ##
465
466
subrata_modak46817bf2008-12-31 04:41:41 +0000467## The next one i plan to run the DMMAPPER tests
468## START => Test Series 19 ##
469if [ $RUN_DMMAPPER_TESTS -eq 1 ]
470then
471(cd $LTPROOT/testscripts/; ./ltpdmmapper.sh -a $DISK_PARTITION2 -b $DISK_PARTITION3)
472fi
473## END => Test Series 19 ##
474
475
subrata_modak5fb342d2008-12-31 04:42:19 +0000476## The next one i plan to run the FSLVM tests
477## START => Test Series 20 ##
478if [ $RUN_FSLVM_TESTS -eq 1 ]
479then
480(cd $LTPROOT/testscripts/; ./ltpfslvm.sh -a $DISK_PARTITION4 -b $DISK_PARTITION5 -c $DISK_PARTITION6 -d $DISK_PARTITION7 -n $NFS_PARTITION1)
481fi
482## END => Test Series 20 ##
483
subrata_modak46817bf2008-12-31 04:41:41 +0000484
subrata_modak22d9e0b2008-12-31 04:43:00 +0000485## The next one i plan to run the FSNOLVM tests
486## START => Test Series 21 ##
487if [ $RUN_FSNOLVM_TESTS -eq 1 ]
488then
489(cd $LTPROOT/testscripts/; ./ltpfsnolvm.sh -a $DISK_PARTITION4 -b $DISK_PARTITION5 -c $DISK_PARTITION6 -d $DISK_PARTITION7 -n $NFS_PARTITION1)
490fi
491## END => Test Series 21 ##
492
subrata_modak49798822008-12-31 04:43:31 +0000493## The next one i plan to run the LTP SCSI DEBUG tests
494## START => Test Series 22 ##
495if [ $RUN_LTP_SCSI_DEBUG_TEST -eq 1 ]
496then
497(cd $LTPROOT/testscripts/; ./ltp-scsi_debug.sh)
498fi
499## END => Test Series 22 ##
500
subrata_modak85bf15f2008-12-31 04:44:04 +0000501## The next one i plan to run the LTP SYSFS tests
502## START => Test Series 23 ##
503if [ $RUN_LTP_SYSFS_TEST -eq 1 ]
504then
505(cd $LTPROOT/testscripts/; ./sysfs.sh -k $KERNEL_MODULE1)
506fi
507## END => Test Series 23 ##
508
subrata_modakcbabba42008-12-31 04:45:13 +0000509## The next one i plan to run the LTP TIRPC tests
510## START => Test Series 24 ##
511if [ $RUN_LTP_TIRPC_TEST -eq 1 ]
512then
yaberauneyac869a5d2009-11-12 20:55:25 +0000513"${RUNLTP}" -f rpctirpc
subrata_modakcbabba42008-12-31 04:45:13 +0000514fi
515## END => Test Series 24 ##
516
subrata_modak56772962008-12-31 04:46:15 +0000517## The next one i plan to run the LTP SE-Linux tests
518## START => Test Series 25 ##
519if [ $RUN_SE_LINUX_TESTS -eq 1 ]
520then
521 (cd $LTPROOT/testcases/kernel/security/selinux-testsuite; make && make install)
522 (cd $LTPROOT/testscripts/; ./test_selinux.sh)
523fi
524## END => Test Series 25 ##
subrata_modak22d9e0b2008-12-31 04:43:00 +0000525
subrata_modakf1e6f342009-01-27 13:54:49 +0000526## The next one i plan to run the DMA_THREAD_DIOTEST7 tests
527## START => Test Series 26 ##
528if [ $RUN_DMA_THREAD_DIOTEST7 -eq 1 ]
529then
yaberauneyac869a5d2009-11-12 20:55:25 +0000530 "${RUNLTP}" -f test_dma_thread_diotest7
subrata_modakf1e6f342009-01-27 13:54:49 +0000531fi
532## END => Test Series 26 ##
subrata_modak9ef22d62009-03-02 15:38:49 +0000533
534## The next one i plan to run the Controller area network
535## (CAN) protocol support tests
536## START => Test Series 27 ##
537if [ $RUN_CONTROLLER_AREA_NETWORK_TESTS -eq 1 ]
538then
yaberauneyac869a5d2009-11-12 20:55:25 +0000539 "${RUNLTP}" -f can
subrata_modak9ef22d62009-03-02 15:38:49 +0000540fi
541## END => Test Series 27 ##
subrata_modak6c7dfab2009-03-19 07:27:04 +0000542
543## The next one i plan to run the SMACK SECURITY tests
544## START => Test Series 28 ##
545if [ $RUN_SMACK_SECURITY_TESTS -eq 1 ]
546then
yaberauneyac869a5d2009-11-12 20:55:25 +0000547 "${RUNLTP}" -f smack
subrata_modak6c7dfab2009-03-19 07:27:04 +0000548fi
549## END => Test Series 28 ##
550
subrata_modakd1791512009-04-02 06:46:36 +0000551## The next one i plan to run the PERFORMANCE COUNTERS tests
552## START => Test Series 29 ##
553if [ $RUN_PERFORMANCE_COUNTERS_TESTS -eq 1 ]
554then
555 (cd $LTPROOT/testcases/kernel/performance_counters; make && make install)
yaberauneyac869a5d2009-11-12 20:55:25 +0000556 "${RUNLTP}" -f perfcounters
subrata_modakd1791512009-04-02 06:46:36 +0000557fi
558## END => Test Series 29 ##
559
560