Module Name:    src
Committed By:   gson
Date:           Sat Aug 30 12:14:17 UTC 2014

Modified Files:
        src/tests/rump/rumpkern: t_sp.sh

Log Message:
On systems that have only 32M of memory, the stress_short and
stress_long tests thrash a lot, and the stress_long test sometimes
times out, so skip them if we don't have at least 64M.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/rump/rumpkern/t_sp.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/rump/rumpkern/t_sp.sh
diff -u src/tests/rump/rumpkern/t_sp.sh:1.11 src/tests/rump/rumpkern/t_sp.sh:1.12
--- src/tests/rump/rumpkern/t_sp.sh:1.11	Thu Feb 24 08:40:06 2011
+++ src/tests/rump/rumpkern/t_sp.sh	Sat Aug 30 12:14:17 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: t_sp.sh,v 1.11 2011/02/24 08:40:06 pooka Exp $
+#	$NetBSD: t_sp.sh,v 1.12 2014/08/30 12:14:17 gson Exp $
 #
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -58,6 +58,16 @@ basic()
 	atf_check -s exit:0 $(atf_get_srcdir)/h_client/h_simplecli
 }
 
+stress_short_head()
+{
+	atf_set "require.memory" "64M"
+}
+
+stress_long_head()
+{
+	atf_set "require.memory" "64M"
+}
+
 stress()
 {
 

Reply via email to