diff options
author | jilles <jilles@FreeBSD.org> | 2012-11-18 23:15:22 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-11-18 23:15:22 +0000 |
commit | 1ecaf6c6d9b65e46c31f4c27eb4054ffcf6cff2a (patch) | |
tree | 8ca24a684242c44a333af10cad8ab0ccb285a628 /tools | |
parent | 3566a308c1040a8ff208655ef7e20c45cfa7792f (diff) | |
download | FreeBSD-src-1ecaf6c6d9b65e46c31f4c27eb4054ffcf6cff2a.zip FreeBSD-src-1ecaf6c6d9b65e46c31f4c27eb4054ffcf6cff2a.tar.gz |
sh: Apply rlimits to parser/alias10.0 so it fails fast.
Requested by: uqs
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/bin/sh/parser/alias10.0 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/parser/alias10.0 b/tools/regression/bin/sh/parser/alias10.0 index 264f5c5..30d99f4 100644 --- a/tools/regression/bin/sh/parser/alias10.0 +++ b/tools/regression/bin/sh/parser/alias10.0 @@ -1,5 +1,9 @@ # $FreeBSD$ +# This test may start consuming memory indefinitely if it fails. +ulimit -t 5 2>/dev/null +ulimit -v 100000 2>/dev/null + alias echo='echo' alias echo='echo' [ "`eval echo b`" = b ] |