From: Subrata <sub...@us...> - 2008-12-31 04:39:03
|
Update of /cvsroot/ltp/ltp In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18710/ltp Modified Files: runalltests.sh Log Message: Integrate ltp autofs tests to runalltests. Signed-Off-By: Subrata Modak <su...@li...>. Index: runalltests.sh =================================================================== RCS file: /cvsroot/ltp/ltp/runalltests.sh,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** runalltests.sh 31 Dec 2008 04:38:13 -0000 1.81 --- runalltests.sh 31 Dec 2008 04:38:53 -0000 1.82 *************** *** 93,96 **** --- 93,104 ---- export RUN_LTP_ADP_TESTS=0 + ## Set this to 1 if you wish to run the AUTOFS tests + # REQUIREMENTS: + # 1) System with a floppy device with a floppy disk in it. + # 2) A spare (scratch) disk partition of 100MB or larger. + export RUN_LTP_AUTOFS1_TESTS=0 + export RUN_LTP_AUTOFS4_TESTS=0 + export DISK_PARTITION1=0 + export LTP_VERSION=`./runltp -e` export TEST_START_TIME=`date +"%Y_%b_%d-%Hh_%Mm_%Ss"` *************** *** 298,299 **** --- 306,330 ---- fi ## END => Test Series 14 ## + + + ## The next one i plan to run are the LTP AUTOFS tests + ## START => Test Series 15 ## + if [ $RUN_LTP_AUTOFS1_TESTS -eq 1 ] + then + if [ $DISK_PARTITION1 ] + then + (cd $LTPROOT/testscripts/; ./autofs1.sh $DISK_PARTITION1) + else + echo Disk Partition not set. Aborting running AUTOFS1 + fi + fi + if [ $RUN_LTP_AUTOFS4_TESTS -eq 1 ] + then + if [ $DISK_PARTITION1 ] + then + (cd $LTPROOT/testscripts/; ./autofs4.sh $DISK_PARTITION1) + else + echo Disk Partition not set. Aborting running AUTOFS4 + fi + fi + ## END => Test Series 15 ## |