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 Copy a little less data in the ufs2, 4...



details:   https://anonhg.NetBSD.org/src/rev/5a01053cab6a
branches:  trunk
changeset: 760688:5a01053cab6a
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Jan 11 00:50:02 2011 +0000

description:
Copy a little less data in the ufs2, 4096-byte block test cases.
The file system was filling up instead of *almost* filling up, which
threw off the tests.

diffstat:

 tests/sbin/resize_ffs/t_grow.sh         |  10 +++++-----
 tests/sbin/resize_ffs/t_grow_swapped.sh |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (72 lines):

diff -r ea9f33762bd1 -r 5a01053cab6a tests/sbin/resize_ffs/t_grow.sh
--- a/tests/sbin/resize_ffs/t_grow.sh   Tue Jan 11 00:49:50 2011 +0000
+++ b/tests/sbin/resize_ffs/t_grow.sh   Tue Jan 11 00:50:02 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_grow.sh,v 1.7 2011/01/05 02:25:27 riz Exp $
+# $NetBSD: t_grow.sh,v 1.8 2011/01/11 00:50:02 riz Exp $
 #
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -96,22 +96,22 @@
 test_case grow_16M_v2_16384 resize_ffs 16384 2048 32768 131072 2 29
 test_case grow_16M_v2_32768 resize_ffs 32768 4096 32768 131072 2 28
 test_case grow_16M_v2_65536 resize_ffs 65536 8192 32768 131072 2 25
-test_case grow_24M_v2_4096 resize_ffs 4096 512 49152 65536 2 41
+test_case grow_24M_v2_4096 resize_ffs 4096 512 49152 65536 2 40
 test_case grow_24M_v2_8192 resize_ffs 8192 1024 49152 65536 2 42
 test_case grow_24M_v2_16384 resize_ffs 16384 2048 49152 65536 2 43
 test_case grow_24M_v2_32768 resize_ffs 32768 4096 49152 65536 2 42
 test_case grow_24M_v2_65536 resize_ffs 65536 8192 49152 65536 2 38
-test_case grow_32M_v2_4096 resize_ffs 4096 512 65536 131072 2 55
+test_case grow_32M_v2_4096 resize_ffs 4096 512 65536 131072 2 53
 test_case grow_32M_v2_8192 resize_ffs 8192 1024 65536 131072 2 56
 test_case grow_32M_v2_16384 resize_ffs 16384 2048 65536 131072 2 58
 test_case grow_32M_v2_32768 resize_ffs 32768 4096 65536 131072 2 56
 test_case grow_32M_v2_65536 resize_ffs 65536 8192 65536 131072 2 51
-test_case grow_48M_v2_4096 resize_ffs 4096 512 98304 131072 2 82
+test_case grow_48M_v2_4096 resize_ffs 4096 512 98304 131072 2 80
 test_case grow_48M_v2_8192 resize_ffs 8192 1024 98304 131072 2 84
 test_case grow_48M_v2_16384 resize_ffs 16384 2048 98304 131072 2 87
 test_case grow_48M_v2_32768 resize_ffs 32768 4096 98304 131072 2 83
 test_case grow_48M_v2_65536 resize_ffs 65536 8192 98304 131072 2 76
-test_case grow_64M_v2_4096 resize_ffs 4096 512 131072 262144 2 109
+test_case grow_64M_v2_4096 resize_ffs 4096 512 131072 262144 2 107
 test_case grow_64M_v2_8192 resize_ffs 8192 1024 131072 262144 2 111
 test_case grow_64M_v2_16384 resize_ffs 16384 2048 131072 262144 2 115
 test_case grow_64M_v2_32768 resize_ffs 32768 4096 131072 262144 2 111
diff -r ea9f33762bd1 -r 5a01053cab6a tests/sbin/resize_ffs/t_grow_swapped.sh
--- a/tests/sbin/resize_ffs/t_grow_swapped.sh   Tue Jan 11 00:49:50 2011 +0000
+++ b/tests/sbin/resize_ffs/t_grow_swapped.sh   Tue Jan 11 00:50:02 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_grow_swapped.sh,v 1.1 2011/01/05 02:25:27 riz Exp $
+# $NetBSD: t_grow_swapped.sh,v 1.2 2011/01/11 00:50:02 riz Exp $
 #
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -96,22 +96,22 @@
 test_case grow_16M_v2_16384 resize_ffs 16384 2048 32768 131072 2 29 swap
 test_case grow_16M_v2_32768 resize_ffs 32768 4096 32768 131072 2 28 swap
 test_case grow_16M_v2_65536 resize_ffs 65536 8192 32768 131072 2 25 swap
-test_case grow_24M_v2_4096 resize_ffs 4096 512 49152 65536 2 41 swap
+test_case grow_24M_v2_4096 resize_ffs 4096 512 49152 65536 2 40 swap
 test_case grow_24M_v2_8192 resize_ffs 8192 1024 49152 65536 2 42 swap
 test_case grow_24M_v2_16384 resize_ffs 16384 2048 49152 65536 2 43 swap
 test_case grow_24M_v2_32768 resize_ffs 32768 4096 49152 65536 2 42 swap
 test_case grow_24M_v2_65536 resize_ffs 65536 8192 49152 65536 2 38 swap
-test_case grow_32M_v2_4096 resize_ffs 4096 512 65536 131072 2 55 swap
+test_case grow_32M_v2_4096 resize_ffs 4096 512 65536 131072 2 53 swap
 test_case grow_32M_v2_8192 resize_ffs 8192 1024 65536 131072 2 56 swap
 test_case grow_32M_v2_16384 resize_ffs 16384 2048 65536 131072 2 58 swap
 test_case grow_32M_v2_32768 resize_ffs 32768 4096 65536 131072 2 56 swap
 test_case grow_32M_v2_65536 resize_ffs 65536 8192 65536 131072 2 51 swap
-test_case grow_48M_v2_4096 resize_ffs 4096 512 98304 131072 2 82 swap
+test_case grow_48M_v2_4096 resize_ffs 4096 512 98304 131072 2 80 swap
 test_case grow_48M_v2_8192 resize_ffs 8192 1024 98304 131072 2 84 swap
 test_case grow_48M_v2_16384 resize_ffs 16384 2048 98304 131072 2 87 swap
 test_case grow_48M_v2_32768 resize_ffs 32768 4096 98304 131072 2 83 swap
 test_case grow_48M_v2_65536 resize_ffs 65536 8192 98304 131072 2 76 swap
-test_case grow_64M_v2_4096 resize_ffs 4096 512 131072 262144 2 109 swap
+test_case grow_64M_v2_4096 resize_ffs 4096 512 131072 262144 2 107 swap
 test_case grow_64M_v2_8192 resize_ffs 8192 1024 131072 262144 2 111 swap
 test_case grow_64M_v2_16384 resize_ffs 16384 2048 131072 262144 2 115 swap
 test_case grow_64M_v2_32768 resize_ffs 32768 4096 131072 262144 2 111 swap



Home | Main Index | Thread Index | Old Index