blob: 88e9a59906d9ac4b0b31682887a073304f72995c [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
subrata_modakfa2f0822008-10-30 06:32:03 +000032echo -e "*******************************************************************"
33echo -e "*******************************************************************"
34echo -e "** **"
subrata_modak7214c772008-09-08 11:56:11 +000035echo -e "** This script is being re-written to cover all aspects of **"
36echo -e "** testing LTP, which includes running all those tests which **"
37echo -e "** are not run by default with ./runltp script. Special setup **"
38echo -e "** in system environment will be done to run all those tests **"
39echo -e "** like the File System tests, SELinuxtest, etc **"
subrata_modakfa2f0822008-10-30 06:32:03 +000040echo -e "** **"
41echo -e "*******************************************************************"
42echo -e "*******************************************************************"
43
44export LTPROOT=${PWD}
subrata_modaka9e52282008-11-07 08:54:25 +000045export RUN_BALLISTA=0
46export RUN_OPENPOSIX=0
subrata_modakfa2f0822008-10-30 06:32:03 +000047## Set this to 1 if mm-1.4.2.tar.gz is already installed in your system
48## from ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz
subrata_modaka9e52282008-11-07 08:54:25 +000049export RUN_MM_CORE_APIS=0
subrata_modakfa2f0822008-10-30 06:32:03 +000050export LIBMM_INSTALLED=0
51## This is required if already not set to /usr/local/lib/ as
52## mm-1.4.2.tar.gz gets installed at /usr/local/lib/
subrata_modaka9e52282008-11-07 08:54:25 +000053export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/:/lib/
54export PATH=$PATH:/sbin/
subrata_modak4922de52008-09-22 10:20:03 +000055
subrata_modak6c4981e2008-10-30 09:42:34 +000056## Set this to 1 if libaio-0.3.92.tar.gz is already installed in your system
57## from http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.gz
subrata_modaka9e52282008-11-07 08:54:25 +000058export RUN_AIOTESTS=0
subrata_modak6c4981e2008-10-30 09:42:34 +000059export LIBAIO_INSTALLED=0
60
subrata_modaka9e52282008-11-07 08:54:25 +000061## Set this to 1 if libcaps-2.11 or newer is already installed in your system
62## from ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2, as well as,
63## the libattr is available in the system. The kernel should also have been built
64## with the following option: CONFIG_SECURITY_FILE_CAPABILITIES=y
65export RUN_FILECAPS=0
66export LIBCAPS_INSTALLED=0
67export LIBATTR_INSTALLED=0
68
subrata_modak59753512008-12-29 11:00:00 +000069## Set this to 1 if you wish to execute the stress_cd tests
70## Make sure you have FLOPPY inserted, be warned that you
71## will loose all data on it after the tests,
72export RUN_STRESS_FLOPPY=0
73
74## Set this to 1 if you wish to execute the stress_floppy tests
75## Make sure you have CD inserted in your CD-ROM drive,
76export RUN_STRESS_CD=0
subrata_modaka9e52282008-11-07 08:54:25 +000077
subrata_modak773c40c2008-12-31 04:36:19 +000078##Set this to 1 if you wish to run the CPUHOTPLUG tests
subrata_modak6111aa82008-12-29 11:04:15 +000079export RUN_CPU_HOTPLUG=0
80
subrata_modak773c40c2008-12-31 04:36:19 +000081##Set this to 1 if you wish to run the LTP-NETWORK tests. Please refer to:
82## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
83## for more information on how to run the tests.
84export RUN_LTP_NETWORK_TESTS=0
85
subrata_modak32b726f2008-12-31 04:37:33 +000086##Set this to 1 if you wish to run the LTP-NETWORK-STRESS tests. Please refer to:
87## http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/LTP-Network-test_README.pdf
88## and http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/network/stress/README
89## for more information on how to run the NETWORK-STRESS tests.
90export RUN_LTP_NETWORK_STRESS_TESTS=0
91
subrata_modakeebedc22008-12-31 04:38:13 +000092## Set this to 1 if you wish to run the ltp/testscripts/adp tests
93export RUN_LTP_ADP_TESTS=0
94
subrata_modak89103242008-12-31 04:38:53 +000095## Set this to 1 if you wish to run the AUTOFS tests
96# REQUIREMENTS:
97# 1) System with a floppy device with a floppy disk in it.
98# 2) A spare (scratch) disk partition of 100MB or larger.
99export RUN_LTP_AUTOFS1_TESTS=0
100export RUN_LTP_AUTOFS4_TESTS=0
101export DISK_PARTITION1=0
102
subrata_modakb9cff9e2008-12-31 04:39:57 +0000103## Set this to 1 if you wish to run the EXPORTFS tests
104# DESCRIPTION : A script that will test exportfs on Linux system.
105# REQUIREMENTS:
106# 1) NFS Server system with rsh enabled between client & server.
107# 2) 100MB Disk partition on NFS server.
108export RUN_EXPORTFS_TESTS=0
109export NFS_SERVER1=xxx
110export NFS_SERVER_DISK_PARTITION1=yyy
111export NFS_SERVER_FS_TYPE1=zzz
112
subrata_modak8720d022008-12-31 04:40:31 +0000113
114## 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
115export RUN_RO_ONLY_FS_TESTS=0
116export READ_ONLY_DIRECTORY1=xxxx
117
subrata_modak8a70e702008-12-31 04:41:04 +0000118## Set this to 1 if you wish to run the ISOFS tests
119# REQUIREMENTS:
120# Must have root access to execute this script
121export RUN_ISOFS_TESTS=0
122
subrata_modak46817bf2008-12-31 04:41:41 +0000123## Set this to 1 if you wish to run the DMMAPPER tests
124#Note: In order to run this test, you must turn on "device mapper"
125# component in kernel (it is under device drivers item when you
126# run make menuconfig); and you must install userspace supporting
127# files (libdevmapper and dmsetup). They are in the device-mapper
128# package. You can download it from http://www.sistina.com. Follow
129# the README/INSTALL file within the package to install it.
130export RUN_DMMAPPER_TESTS=0
131export DISK_PARTITION2=xxxxx
132export DISK_PARTITION3=yyyyy
133
subrata_modak5fb342d2008-12-31 04:42:19 +0000134## Set this to 1 if you wish to run the FSLVM tests
135#Note: fdisk needs to be run and the 4 HD partitions marked as 0x8e -- Linux LVM
136# - If this is run on a 2.4 kernel system then LVM must be configured and the kernel rebuilt. In a 2.5 environment
137# you must configure Device Mapper and install LVM2 from www.systina.com for the testcase to run correctly.
138# - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
139# Once these tests are started all data in the partitions you point to will be destroyed.
140export RUN_FSLVM_TESTS=0
141export DISK_PARTITION4=xxxxxx
142export DISK_PARTITION5=yyyyyy
143export DISK_PARTITION6=zzzzzz
144export DISK_PARTITION7=iiiiii
145export NFS_PARTITION1=jjjjjj
146
subrata_modak22d9e0b2008-12-31 04:43:00 +0000147## Set this to 1 if you wish to run the FSNOLVM tests
148#Note: fdisk needs to be run and the 4 HD partitions marked as 0x8e -- Linux LVM
149# - If this is run on a 2.4 kernel system then LVM must be configured and the kernel rebuilt. In a 2.5 environment
150# you must configure Device Mapper and install LVM2 from www.systina.com for the testcase to run correctly.
151# - These operations are destructive so do NOT point the tests to partitions where the data shouldn't be overwritten.
152# Once these tests are started all data in the partitions you point to will be destroyed.
153export RUN_FSNOLVM_TESTS=0
154
subrata_modak49798822008-12-31 04:43:31 +0000155## Set this to 1 if you wish to run the LTP SCSI DEBUG tests
156#Note: Build scsi_debug as a module first before running the test
157export RUN_LTP_SCSI_DEBUG_TEST=0
158
subrata_modak85bf15f2008-12-31 04:44:04 +0000159## Set this to 1 if you wish to run the LTP SYSFS tests
160#Note: Must have root access to execute this script.
161# USAGE : sysfs.sh [ -k <kernel_module> ]
162# DESCRIPTION : A script that will test sysfs on Linux system.
163# REQUIREMENTS: CONFIG_DUMMY must have been used to build kernel, and the
164# dummy network module must exist.
165export RUN_LTP_SYSFS_TEST=0
166export KERNEL_MODULE1=xxxxxxx
167
subrata_modakcbabba42008-12-31 04:45:13 +0000168## Set this to 1 if you wish to run the LTP TIRPC tests
169export RUN_LTP_TIRPC_TEST=0
170
subrata_modak56772962008-12-31 04:46:15 +0000171##Set this to 1 if you wish to run the SE-Linux tests
172# These testcases test the SELinux Security Module.
173# A kernel with SELinux configured, and SELinux policy and userspace
174# tools installed, are required to build and run the SELinux testsuite.
175# Also, /usr/sbin should be included in PATH to ensure SELinux utilities
176# such as getenforce are found. The test_selinux.sh script adds /usr/sbin
177# to the PATH.
178# You must also have the line:
179# expand-check = 0
180# in your /etc/selinux/semanage.conf file as the test policy will violate some
181# of the neverallow rules in the base policy. This line may already be present
182# depending on your distribution; if not, add it before running the test suite
183# and remove it when done. For more info, please refer to:
184# http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/security/selinux-testsuite/README
185export RUN_SE_LINUX_TESTS=0
186
subrata_modakf1e6f342009-01-27 13:54:49 +0000187##Set this to 1 if you wish to run the dma_thread_diotest7 test
188export RUN_DMA_THREAD_DIOTEST7=0
189
subrata_modak9ef22d62009-03-02 15:38:49 +0000190##Set this to 1 if you wish to run the Controller area network (CAN)
191##protocol support tests. You would also like to review the Kernel
192##config options need to be set for this at ltp/README
193export RUN_CONTROLLER_AREA_NETWORK_TESTS=0
194
subrata_modak4922de52008-09-22 10:20:03 +0000195export LTP_VERSION=`./runltp -e`
196export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
197export HARDWARE_TYPE=$(uname -i)
198export HOSTNAME=$(uname -n)
199export KERNEL_VERSION=$(uname -r)
subrata_modak5fb342d2008-12-31 04:42:19 +0000200export HTML_OUTPUT_FILE_NAME=$LTP_VERSION_$HOSTNAME_$KERNEL_VERSION_$HARDWARE_TYPE_$TEST_START_TIME.html
subrata_modak4922de52008-09-22 10:20:03 +0000201
202
203## The First one i plan to run is the default LTP run ##
204## START => Test Series 1 ##
205echo -e "Running Default LTP..."
206./runltp -g $HTML_OUTPUT_FILE_NAME
207echo -e "Completed running Default LTP\n\n"
208## END => Test Series 1 ##
209
210## The next one i plan to run is ballista ##
211## START => Test Series 2 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000212if [ $RUN_BALLISTA -eq 1 ]
213then
214 echo -e "Running Ballista..."
215 export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"`
216 ./runltp -f ballista -o $LTP_VERSION-BALLISTA_RUN_ON-$HOSTNAME-$KERNEL_VERSION-$HARDWARE_TYPE-$TEST_START_TIME.out
217 echo -e "Completed running Ballista\n\n"
218fi
subrata_modak4922de52008-09-22 10:20:03 +0000219## END => Test Series 2 ##
220
221## The next one i plan to run is open_posix_testsuite ##
222## START => Test Series 3 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000223if [ $RUN_OPENPOSIX -eq 1 ]
224then
225 echo -e "Running Open Posix Tests..."
226 (cd testcases/open_posix_testsuite; make)
227 echo -e "Completed running Open Posix Tests\n\n"
228fi
subrata_modak4922de52008-09-22 10:20:03 +0000229## END => Test Series 3 ##
230
subrata_modakfa2f0822008-10-30 06:32:03 +0000231
232## The next one i plan to run is ##
233## ltp/testcases/kernel/mem/libmm/mm_core_apis ##
234## START => Test Series 4 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000235if [ $RUN_MM_CORE_APIS -eq 1 ]
subrata_modakfa2f0822008-10-30 06:32:03 +0000236then
subrata_modaka9e52282008-11-07 08:54:25 +0000237 echo -e "Initializing ltp/testcases/kernel/mem/libmm/mm_core_apis ..."
238 # Check to see if User is Root
239 if [ $EUID -ne 0 ]
subrata_modakfa2f0822008-10-30 06:32:03 +0000240 then
subrata_modaka9e52282008-11-07 08:54:25 +0000241 echo You need to be root to Install libmm and run mem/libmm/mm_core_apis
242 echo Aborting ltp/testcases/kernel/mem/libmm/mm_core_apis
subrata_modakfa2f0822008-10-30 06:32:03 +0000243 else
subrata_modaka9e52282008-11-07 08:54:25 +0000244 if [ $LIBMM_INSTALLED -ne 1 ]
245 then
246 echo Installing libmm-1.4.2 .............
247 (cd /tmp; \
248 wget -c ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz; \
249 tar -xzf mm-1.4.2.tar.gz; \
250 cd mm-1.4.2; \
251 ./configure && make && make install )
252 rm -rf /tmp/mm-1.4.2*
253 echo libmm-1.4.2 Installed .............
254 else
255 echo libmm-1.4.2 already installed in your system
256 fi
subrata_modakfa2f0822008-10-30 06:32:03 +0000257 echo -e "Running ltp/testcases/kernel/mem/libmm/mm_core_apis ..."
subrata_modaka9e52282008-11-07 08:54:25 +0000258 (cd testcases/kernel/mem/libmm; \
259 make; \
260 make install; \
261 $LTPROOT/testcases/bin/mm_core_apis; )
262 fi
263 echo -e "Completed running ltp/testcases/kernel/mem/libmm/mm_core_apis...\n\n"
subrata_modakfa2f0822008-10-30 06:32:03 +0000264fi
subrata_modakfa2f0822008-10-30 06:32:03 +0000265## END => Test Series 4 ##
266
subrata_modak6c4981e2008-10-30 09:42:34 +0000267
268## The next one i plan to run is ##
269## ltp/testcases/kernel/io/aio ##
270## START => Test Series 5 ##
subrata_modaka9e52282008-11-07 08:54:25 +0000271if [ $RUN_AIOTESTS -eq 1 ]
subrata_modak6c4981e2008-10-30 09:42:34 +0000272 then
subrata_modaka9e52282008-11-07 08:54:25 +0000273 echo -e "Initializing ltp/testcases/kernel/io/aio ..."
274 # Check to see if User is Root
275 if [ $EUID -ne 0 ]
276 then
277 echo You need to be root to Install libaio-0.3.92 and run ltp/testcases/kernel/io/aio
278 echo Aborting ltp/testcases/kernel/io/aio
subrata_modak6c4981e2008-10-30 09:42:34 +0000279 else
subrata_modaka9e52282008-11-07 08:54:25 +0000280 if [ $LIBAIO_INSTALLED -ne 1 ]
281 then
282 echo Installing libaio-0.3.92.............
283 (cd /tmp; \
284 wget -c http://www.kernel.org/pub/linux/kernel/people/bcrl/aio/libaio-0.3.92.tar.gz; \
285 tar -xzf libaio-0.3.92.tar.gz; \
286 cd libaio-0.3.92; \
287 make > /dev/null && make install > /dev/null)
288 rm -rf /tmp/libaio-0.3.92*
289 echo libaio-0.3.92 Installed .............
290 else
291 echo libaio-0.3.92 already installed in your system
292 fi
subrata_modak6c4981e2008-10-30 09:42:34 +0000293 echo -e "Building & Running ltp/testcases/kernel/io/aio..."
294 (cd testcases/kernel/io/aio; \
295 make > /dev/null; \
296 ./aio01/aio01; \
297 ./aio02/runfstests.sh -a aio02/cases/aio_tio; \
298 make clean 1>&2 > /dev/null )
subrata_modaka9e52282008-11-07 08:54:25 +0000299 echo -e "Completed running ltp/testcases/kernel/io/aio...\n\n"
300 fi
subrata_modak6c4981e2008-10-30 09:42:34 +0000301fi
302## END => Test Series 5 ##
303
subrata_modaka9e52282008-11-07 08:54:25 +0000304
305
306## The next one i plan to run is ##
307## ltp/testcases/kernel/security/filecaps ##
308## START => Test Series 6 ##
309if [ $RUN_FILECAPS -eq 1 ]
310then
311 echo -e "Initializing ltp/testcases/kernel/security/filecaps ..."
312 # Check to see if User is Root
313 if [ $EUID -ne 0 ]
314 then
315 echo You need to be root to Install libcaps and run ltp/testcases/kernel/security/filecaps
316 echo Aborting ltp/testcases/kernel/security/filecaps
317 else
318 if [ $LIBCAPS_INSTALLED -ne 1 ]
319 then
320 echo Installing libcaps.............
321 (cd /tmp; \
322 wget -c ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.14.tar.gz; \
323 tar -xzf libcap-2.14.tar.gz; \
324 cd libcap-2.14; \
325 make > /dev/null && make install > /dev/null)
326 rm -rf /tmp/libcap-2.14*
327 echo libcaps Installed .............
328 else
329 echo libcaps already installed in your system
330 fi
331 echo -e "Building & Running ltp/testcases/kernel/security/filecaps"
332 (cd ltp/testcases/kernel/security/filecaps; \
333 make && make install > /dev/null; )
334 ./runltp -f filecaps
335 echo -e "Completed running ltp/testcases/kernel/io/aio...\n\n"
336 fi
337fi
338## END => Test Series 6 ##
subrata_modak89aaf8c2008-11-13 10:06:36 +0000339
340
341## The next one i plan to run is tpm_tools ##
342## START => Test Series 7 ##
343./runltp -f tpm_tools
344## END => Test Series 7 ##
subrata_modak86785aa2008-12-19 08:52:39 +0000345
346## The next one i plan to run is tcore_patch_test_suites
347## START => Test Series 8 ##
348./runltp -f tcore
349## END => Test Series 8 ##
subrata_modak59753512008-12-29 11:00:00 +0000350
351
352## The next one i plan to run is stress_cd tests
353## START => Test Series 9 ##
354if [ $RUN_STRESS_CD -eq 1 ]
355then
356./runltp -f io_cd
357fi
358## END => Test Series 9 ##
359
360## The next one i plan to run is stress_floppy tests
361## START => Test Series 10 ##
362if [ $RUN_STRESS_FLOPPY -eq 1 ]
363then
364./runltp -f io_floppy
365fi
366## END => Test Series 10 ##
367
subrata_modak6111aa82008-12-29 11:04:15 +0000368## The next one i plan to run is CPUHOTPLUG tests
369## START => Test Series 11 ##
370if [ $RUN_CPU_HOTPLUG -eq 1 ]
371then
372./runltp -f cpuhotplug
373fi
374## END => Test Series 11 ##
375
subrata_modak773c40c2008-12-31 04:36:19 +0000376## The next one i plan to run are the LTP Network tests
377## START => Test Series 12 ##
378if [ $RUN_LTP_NETWORK_TESTS -eq 1 ]
379then
380(cd $LTPROOT/testscripts/; ./networktests.sh)
381fi
382## END => Test Series 12 ##
383
subrata_modak32b726f2008-12-31 04:37:33 +0000384## The next one i plan to run are the LTP Network Stress tests
385## START => Test Series 13 ##
386if [ $RUN_LTP_NETWORK_STRESS_TESTS -eq 1 ]
387then
388(cd $LTPROOT/testscripts/; ./networkstress.sh)
389fi
390## END => Test Series 13 ##
subrata_modak773c40c2008-12-31 04:36:19 +0000391
subrata_modakeebedc22008-12-31 04:38:13 +0000392
393## The next one i plan to run are the LTP ADP tests
394## START => Test Series 14 ##
395if [ $RUN_LTP_ADP_TESTS -eq 1 ]
396then
397(cd $LTPROOT/testscripts/; ./adp.sh -d 3 -n 100)
398fi
399## END => Test Series 14 ##
subrata_modak89103242008-12-31 04:38:53 +0000400
401
402## The next one i plan to run are the LTP AUTOFS tests
403## START => Test Series 15 ##
404if [ $RUN_LTP_AUTOFS1_TESTS -eq 1 ]
405then
406 if [ $DISK_PARTITION1 ]
407 then
408 (cd $LTPROOT/testscripts/; ./autofs1.sh $DISK_PARTITION1)
409 else
410 echo Disk Partition not set. Aborting running AUTOFS1
411 fi
412fi
413if [ $RUN_LTP_AUTOFS4_TESTS -eq 1 ]
414then
415 if [ $DISK_PARTITION1 ]
416 then
417 (cd $LTPROOT/testscripts/; ./autofs4.sh $DISK_PARTITION1)
418 else
419 echo Disk Partition not set. Aborting running AUTOFS4
420 fi
421fi
422## END => Test Series 15 ##
subrata_modakb9cff9e2008-12-31 04:39:57 +0000423
424
425## The next one i plan to run are the LTP EXPORTFS tests
426## START => Test Series 16 ##
427if [ $RUN_EXPORTFS_TESTS -eq 1 ]
428then
429(cd $LTPROOT/testscripts/; ./exportfs.sh -h $NFS_SERVER1 -d $NFS_SERVER_DISK_PARTITION1 -t $NFS_SERVER_FS_TYPE1)
430fi
431## END => Test Series 16 ##
subrata_modak8720d022008-12-31 04:40:31 +0000432
433
434## The next one i plan to run the FS tests on READ ONLY File Systems
435## START => Test Series 17 ##
436if [ $RUN_RO_ONLY_FS_TESTS -eq 1 ]
437then
438(cd $READ_ONLY_DIRECTORY1; sh $LTPROOT/testscripts/test_robind.sh)
439fi
440## END => Test Series 17 ##
441
442
subrata_modak8a70e702008-12-31 04:41:04 +0000443## The next one i plan to run the ISOFS tests
444## START => Test Series 18 ##
445if [ $RUN_ISOFS_TESTS -eq 1 ]
446then
447(cd $LTPROOT/testscripts/; ./isofs.sh)
448fi
449## END => Test Series 18 ##
450
451
subrata_modak46817bf2008-12-31 04:41:41 +0000452## The next one i plan to run the DMMAPPER tests
453## START => Test Series 19 ##
454if [ $RUN_DMMAPPER_TESTS -eq 1 ]
455then
456(cd $LTPROOT/testscripts/; ./ltpdmmapper.sh -a $DISK_PARTITION2 -b $DISK_PARTITION3)
457fi
458## END => Test Series 19 ##
459
460
subrata_modak5fb342d2008-12-31 04:42:19 +0000461## The next one i plan to run the FSLVM tests
462## START => Test Series 20 ##
463if [ $RUN_FSLVM_TESTS -eq 1 ]
464then
465(cd $LTPROOT/testscripts/; ./ltpfslvm.sh -a $DISK_PARTITION4 -b $DISK_PARTITION5 -c $DISK_PARTITION6 -d $DISK_PARTITION7 -n $NFS_PARTITION1)
466fi
467## END => Test Series 20 ##
468
subrata_modak46817bf2008-12-31 04:41:41 +0000469
subrata_modak22d9e0b2008-12-31 04:43:00 +0000470## The next one i plan to run the FSNOLVM tests
471## START => Test Series 21 ##
472if [ $RUN_FSNOLVM_TESTS -eq 1 ]
473then
474(cd $LTPROOT/testscripts/; ./ltpfsnolvm.sh -a $DISK_PARTITION4 -b $DISK_PARTITION5 -c $DISK_PARTITION6 -d $DISK_PARTITION7 -n $NFS_PARTITION1)
475fi
476## END => Test Series 21 ##
477
subrata_modak49798822008-12-31 04:43:31 +0000478## The next one i plan to run the LTP SCSI DEBUG tests
479## START => Test Series 22 ##
480if [ $RUN_LTP_SCSI_DEBUG_TEST -eq 1 ]
481then
482(cd $LTPROOT/testscripts/; ./ltp-scsi_debug.sh)
483fi
484## END => Test Series 22 ##
485
subrata_modak85bf15f2008-12-31 04:44:04 +0000486## The next one i plan to run the LTP SYSFS tests
487## START => Test Series 23 ##
488if [ $RUN_LTP_SYSFS_TEST -eq 1 ]
489then
490(cd $LTPROOT/testscripts/; ./sysfs.sh -k $KERNEL_MODULE1)
491fi
492## END => Test Series 23 ##
493
subrata_modakcbabba42008-12-31 04:45:13 +0000494## The next one i plan to run the LTP TIRPC tests
495## START => Test Series 24 ##
496if [ $RUN_LTP_TIRPC_TEST -eq 1 ]
497then
498./runltp -f rpctirpc
499fi
500## END => Test Series 24 ##
501
subrata_modak56772962008-12-31 04:46:15 +0000502## The next one i plan to run the LTP SE-Linux tests
503## START => Test Series 25 ##
504if [ $RUN_SE_LINUX_TESTS -eq 1 ]
505then
506 (cd $LTPROOT/testcases/kernel/security/selinux-testsuite; make && make install)
507 (cd $LTPROOT/testscripts/; ./test_selinux.sh)
508fi
509## END => Test Series 25 ##
subrata_modak22d9e0b2008-12-31 04:43:00 +0000510
subrata_modakf1e6f342009-01-27 13:54:49 +0000511## The next one i plan to run the DMA_THREAD_DIOTEST7 tests
512## START => Test Series 26 ##
513if [ $RUN_DMA_THREAD_DIOTEST7 -eq 1 ]
514then
515 ./runltp -f test_dma_thread_diotest7
516fi
517## END => Test Series 26 ##
subrata_modak9ef22d62009-03-02 15:38:49 +0000518
519## The next one i plan to run the Controller area network
520## (CAN) protocol support tests
521## START => Test Series 27 ##
522if [ $RUN_CONTROLLER_AREA_NETWORK_TESTS -eq 1 ]
523then
524 ./runltp -f can
525fi
526## END => Test Series 27 ##