Module Name:    src
Committed By:   riz
Date:           Thu Dec  9 16:59:35 UTC 2010

Modified Files:
        src/tests/sbin/resize_ffs: common.sh

Log Message:
Remove accidentally-committed debug-assist code.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/resize_ffs/common.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sbin/resize_ffs/common.sh
diff -u src/tests/sbin/resize_ffs/common.sh:1.1 src/tests/sbin/resize_ffs/common.sh:1.2
--- src/tests/sbin/resize_ffs/common.sh:1.1	Thu Dec  9 05:19:02 2010
+++ src/tests/sbin/resize_ffs/common.sh	Thu Dec  9 16:59:35 2010
@@ -17,19 +17,6 @@
 	fi
 }
 
-# make sure to remove test_redo before committing
-test_redo ()
-{
-        local fpi=$((${2} * 4))
-        local i
-        if [ $fpi -gt 16384 ]; then
-                i="-i 16384"
-        fi
-	sudo umount ${MNTPT}
-	newfs -O1 $i -b $1 -f $2 -s $3 -F ${IMG}
-	sudo rump_ffs ${IMG} ${MNTPT}
-}
-
 # test_case() taken from the tests/ipf/h_common.sh
 # Used to declare the atf goop for a test.
 test_case()
@@ -92,17 +79,6 @@
 	done
 }
 
-mount_test_fs_image ()
-{
-	rump_ffs ${IMG} ${MNTPT}
-}
-
-unmount_test_fs_image ()
-{
-	umount -f ${MNTPT}
-}
-
-
 # verify that the data in a particular directory is still OK
 # generated md5 file doesn't need explicit cleanup thanks to ATF
 check_data ()

Reply via email to