Hardcoding TESTS2RUN to create, to test only create for now
authorRachita Kothiyal <rachita@vm2.fsl.cs.sunysb.edu>
Fri, 12 Oct 2007 21:25:57 +0000 (17:25 -0400)
committerRachita Kothiyal <rachita@vm2.fsl.cs.sunysb.edu>
Fri, 12 Oct 2007 21:25:57 +0000 (17:25 -0400)
odf.conf
run-tests

index a66afddd961d29afa8515f102f93be2575428248..b8257aadd98bb0acf497f86876d8dd2ae12ef61c 100644 (file)
--- a/odf.conf
+++ b/odf.conf
@@ -35,7 +35,10 @@ BROKEN_TESTS="
 "
 # names of tests to run (change as you like)
 # Will take $MYTESTS list of tests from the environment
-TESTS2RUN=${MYTESTS:-$ALL_TESTS}
+#TESTS2RUN=${MYTESTS:-$ALL_TESTS}
+
+#Hardcoding this to test only 'create'
+TESTS2RUN="create"
 
 # Running On-Disk Format (ODF) ? 1=yes, 0=no
 ODF=1
index 513600f7fa8dc36e62bf3030c997a30588a36a5c..924c224e875a9fde478f97f51419fc10fcad4e85 100755 (executable)
--- a/run-tests
+++ b/run-tests
@@ -154,15 +154,15 @@ function setup_lower
     done
 }
 
+
 function do_umount
 {
     branch=$1
     dev=$2
     fs=$3
 
-    # first, unmount main branch
     runcmd umount /n/lower/b$branch
-
+    
     case "$fs" in
        nfs* )
            runcmd exportfs -u localhost:/n/export/b$branch
@@ -246,7 +246,7 @@ do
   fi
 
   # test if file systems are supported by this kernel, and skip if not
-  test_fs $MYFS $FS0 $FS1 $FS2 $FS3 $SPECIAL_FS
+  test_fs $MYFS $FS0 $FS1 $FS2 $FS3 $FS4 $SPECIAL_FS
 
   delay=$DELAY
   echo "Sleeping for "$delay" seconds between each command."
@@ -254,7 +254,7 @@ do
 
   # Export the type of file systems, as some tests need to know.
   # For example: jffs2, cramfs, and squashfs.
-  export FS0 FS1 FS2 FS3 DEV0 DEV1 DEV2 DEV3 SPECIAL_FS delay OUTPUT_COLOR
+  export FS0 FS1 FS2 FS3 ODF_FS DEV0 DEV1 DEV2 DEV3 ODF_DEV ODF_DIR SPECIAL_FS delay OUTPUT_COLOR POPULATE_ODF
 
   # run actual test and abort on error (test script tries to umount unionfs)
   runcmd bash $t
@@ -268,7 +268,7 @@ do
   runcmd sync
 
   # try to unmount lower file systems (check if we leak anything)
-  for i in 0 1 2 3 ; do
+  for i in 0 1 2 3 ; do 
       do_umount $i $(eval echo \$DEV$i) $(eval echo \$FS$i)
   done
   # unload unionfs module (check if we leak anything)