Source-Changes-HG archive

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

[src/trunk]: src/tests/kernel shorten test to not time out on our test infras...



details:   https://anonhg.NetBSD.org/src/rev/2349b0b74632
branches:  trunk
changeset: 786348:2349b0b74632
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Apr 27 07:45:07 2013 +0000

description:
shorten test to not time out on our test infrastructure.

diffstat:

 tests/kernel/t_umountstress.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7cdbf8d7a090 -r 2349b0b74632 tests/kernel/t_umountstress.sh
--- a/tests/kernel/t_umountstress.sh    Sat Apr 27 06:24:22 2013 +0000
+++ b/tests/kernel/t_umountstress.sh    Sat Apr 27 07:45:07 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_umountstress.sh,v 1.2 2013/04/20 09:00:03 mlelstv Exp $
+# $NetBSD: t_umountstress.sh,v 1.3 2013/04/27 07:45:07 mlelstv Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -66,7 +66,7 @@
        exec 9< ${TMPMP}/hold
 
        (
-               for j in 0 1 2 3 4 5 6 7 8 9; do
+               for j in 0 1 2 3 4; do
                for k in 0 1 2 3 4 5 6 7 8 9; do
                        if ! dd msgfmt=quiet if=/dev/zero \
                                count=1 of=${TMPMP}/test$i$j$k; then
@@ -109,7 +109,7 @@
 
        case $rc in
        0) ;;
-       *) atf_fail "File operation failed with rc $rc"
+       *) atf_fail "File operation failed"
        esac
 }
 umountstress_cleanup()



Home | Main Index | Thread Index | Old Index