Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sbin/resize_ffs Remove accidentally-committed debug-as...



details:   https://anonhg.NetBSD.org/src/rev/538d50a9778d
branches:  trunk
changeset: 759441:538d50a9778d
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Dec 09 16:59:35 2010 +0000

description:
Remove accidentally-committed debug-assist code.

diffstat:

 tests/sbin/resize_ffs/common.sh |  24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diffs (41 lines):

diff -r cd890b11bee3 -r 538d50a9778d tests/sbin/resize_ffs/common.sh
--- a/tests/sbin/resize_ffs/common.sh   Thu Dec 09 13:51:45 2010 +0000
+++ b/tests/sbin/resize_ffs/common.sh   Thu Dec 09 16:59:35 2010 +0000
@@ -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 ()



Home | Main Index | Thread Index | Old Index