Module Name: src
Committed By: riz
Date: Tue Jan 11 00:50:02 UTC 2011
Modified Files:
src/tests/sbin/resize_ffs: t_grow.sh t_grow_swapped.sh
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/sbin/resize_ffs/t_grow.sh
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/resize_ffs/t_grow_swapped.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/t_grow.sh
diff -u src/tests/sbin/resize_ffs/t_grow.sh:1.7 src/tests/sbin/resize_ffs/t_grow.sh:1.8
--- src/tests/sbin/resize_ffs/t_grow.sh:1.7 Wed Jan 5 02:25:27 2011
+++ src/tests/sbin/resize_ffs/t_grow.sh Tue Jan 11 00:50:02 2011
@@ -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
Index: src/tests/sbin/resize_ffs/t_grow_swapped.sh
diff -u src/tests/sbin/resize_ffs/t_grow_swapped.sh:1.1 src/tests/sbin/resize_ffs/t_grow_swapped.sh:1.2
--- src/tests/sbin/resize_ffs/t_grow_swapped.sh:1.1 Wed Jan 5 02:25:27 2011
+++ src/tests/sbin/resize_ffs/t_grow_swapped.sh Tue Jan 11 00:50:02 2011
@@ -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