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 Reduce the number of tests run automat...
details: https://anonhg.NetBSD.org/src/rev/5cda00ee5f3e
branches: trunk
changeset: 759788:5cda00ee5f3e
user: riz <riz%NetBSD.org@localhost>
date: Thu Dec 16 17:50:13 2010 +0000
description:
Reduce the number of tests run automatically, as they apparently go
quite slowly when run under qemu.
Also, change the switch variable from "RESIZE_FFS_BIG_TESTS" to
"RESIZE_FFS_ALL_TESTS", and only check if it's set or not.
diffstat:
tests/sbin/resize_ffs/t_grow.sh | 4 ++--
tests/sbin/resize_ffs/t_shrink.sh | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r 47462482fb7c -r 5cda00ee5f3e tests/sbin/resize_ffs/t_grow.sh
--- a/tests/sbin/resize_ffs/t_grow.sh Thu Dec 16 17:47:53 2010 +0000
+++ b/tests/sbin/resize_ffs/t_grow.sh Thu Dec 16 17:50:13 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_grow.sh,v 1.5 2010/12/16 17:16:07 riz Exp $
+# $NetBSD: t_grow.sh,v 1.6 2010/12/16 17:50:13 riz Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -97,6 +97,7 @@
atf_add_test_case grow_16M_v1_16384
atf_add_test_case grow_16M_v1_32768
atf_add_test_case grow_16M_v1_65536
+if [ "${RESIZE_FFS_ALL_TESTS-X}" != "X" ]; then
atf_add_test_case grow_24M_v1_4096
atf_add_test_case grow_24M_v1_8192
atf_add_test_case grow_24M_v1_16384
@@ -107,7 +108,6 @@
atf_add_test_case grow_32M_v1_16384
atf_add_test_case grow_32M_v1_32768
atf_add_test_case grow_32M_v1_65536
-if [ "X${RESIZE_FFS_BIG_TESTS}" != "X" ]; then
atf_add_test_case grow_48M_v1_4096
atf_add_test_case grow_48M_v1_8192
atf_add_test_case grow_48M_v1_16384
diff -r 47462482fb7c -r 5cda00ee5f3e tests/sbin/resize_ffs/t_shrink.sh
--- a/tests/sbin/resize_ffs/t_shrink.sh Thu Dec 16 17:47:53 2010 +0000
+++ b/tests/sbin/resize_ffs/t_shrink.sh Thu Dec 16 17:50:13 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_shrink.sh,v 1.5 2010/12/16 17:16:07 riz Exp $
+# $NetBSD: t_shrink.sh,v 1.6 2010/12/16 17:50:13 riz Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -91,12 +91,12 @@
atf_add_test_case shrink_24M_16M_v1_16384
atf_add_test_case shrink_24M_16M_v1_32768
atf_add_test_case shrink_24M_16M_v1_65536
+if [ "${RESIZE_FFS_ALL_TESTS-X}" != "X" ]; then
atf_add_test_case shrink_32M_24M_v1_4096
atf_add_test_case shrink_32M_24M_v1_8192
atf_add_test_case shrink_32M_24M_v1_16384
atf_add_test_case shrink_32M_24M_v1_32768
atf_add_test_case shrink_32M_24M_v1_65536
-if [ "X${RESIZE_FFS_BIG_TESTS}" != "X" ]; then
atf_add_test_case shrink_48M_16M_v1_4096
atf_add_test_case shrink_48M_16M_v1_8192
atf_add_test_case shrink_48M_16M_v1_16384
Home |
Main Index |
Thread Index |
Old Index