Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2012 20:56:29 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r234002 - stable/8/tools/regression/bin/sh/expansion
Message-ID:  <201204072056.q37KuTDh078207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sat Apr  7 20:56:29 2012
New Revision: 234002
URL: http://svn.freebsd.org/changeset/base/234002

Log:
  MFC r232839: sh: Add a test for variables with underscores in arithmetic.

Added:
  stable/8/tools/regression/bin/sh/expansion/arith12.0
     - copied unchanged from r232839, head/tools/regression/bin/sh/expansion/arith12.0
Modified:
Directory Properties:
  stable/8/tools/regression/bin/sh/   (props changed)

Copied: stable/8/tools/regression/bin/sh/expansion/arith12.0 (from r232839, head/tools/regression/bin/sh/expansion/arith12.0)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ stable/8/tools/regression/bin/sh/expansion/arith12.0	Sat Apr  7 20:56:29 2012	(r234002, copy of r232839, head/tools/regression/bin/sh/expansion/arith12.0)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+_x=4 y_=5 z_z=6
+[ "$((_x*100+y_*10+z_z))" = 456 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204072056.q37KuTDh078207>