svn commit: r243403 - in stable/9/tools/regression/bin/sh: builtins parser

Jilles Tjoelker jilles at FreeBSD.org
Thu Nov 22 13:51:59 UTC 2012


Author: jilles
Date: Thu Nov 22 13:51:58 2012
New Revision: 243403
URL: http://svnweb.freebsd.org/changeset/base/243403

Log:
  MFC r242767,r243252: sh: Add tests for modifying an alias (r242766/r243402).

Added:
  stable/9/tools/regression/bin/sh/builtins/alias3.0
     - copied unchanged from r242767, head/tools/regression/bin/sh/builtins/alias3.0
  stable/9/tools/regression/bin/sh/builtins/alias3.0.stdout
     - copied unchanged from r242767, head/tools/regression/bin/sh/builtins/alias3.0.stdout
  stable/9/tools/regression/bin/sh/parser/alias10.0
     - copied, changed from r242767, head/tools/regression/bin/sh/parser/alias10.0
Modified:
Directory Properties:
  stable/9/tools/regression/bin/sh/   (props changed)

Copied: stable/9/tools/regression/bin/sh/builtins/alias3.0 (from r242767, head/tools/regression/bin/sh/builtins/alias3.0)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/tools/regression/bin/sh/builtins/alias3.0	Thu Nov 22 13:51:58 2012	(r243403, copy of r242767, head/tools/regression/bin/sh/builtins/alias3.0)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+set -e
+
+unalias -a
+alias foo=bar
+alias bar=
+alias quux="1 2 3"
+alias foo=bar
+alias bar=
+alias quux="1 2 3"
+alias
+alias foo

Copied: stable/9/tools/regression/bin/sh/builtins/alias3.0.stdout (from r242767, head/tools/regression/bin/sh/builtins/alias3.0.stdout)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/9/tools/regression/bin/sh/builtins/alias3.0.stdout	Thu Nov 22 13:51:58 2012	(r243403, copy of r242767, head/tools/regression/bin/sh/builtins/alias3.0.stdout)
@@ -0,0 +1,4 @@
+bar=''
+foo=bar
+quux='1 2 3'
+foo=bar

Copied and modified: stable/9/tools/regression/bin/sh/parser/alias10.0 (from r242767, head/tools/regression/bin/sh/parser/alias10.0)
==============================================================================
--- head/tools/regression/bin/sh/parser/alias10.0	Thu Nov  8 13:36:19 2012	(r242767, copy source)
+++ stable/9/tools/regression/bin/sh/parser/alias10.0	Thu Nov 22 13:51:58 2012	(r243403)
@@ -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 ]


More information about the svn-src-stable-9 mailing list