Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/tests/sbin/resize_ffs/common.sh,v rcsdiff: /ftp/cvs/cvsroot/src/tests/sbin/resize_ffs/common.sh,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/tests/sbin/resize_ffs/common.sh 2010/12/09 05:19:02 1.1 +++ src/tests/sbin/resize_ffs/common.sh 2010/12/09 16:59:35 1.2 @@ -17,19 +17,6 @@ setupvars() 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 @@ remove_multiple () 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 ()