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.
This commit is contained in:
gson 2014-08-30 12:14:17 +00:00
parent bb7c004bd3
commit 56e22ea3cf

View File

@ -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()
{