Author: jilles
Date: Sun Dec 12 16:56:16 2010
New Revision: 216395
URL: http://svn.freebsd.org/changeset/base/216395

Log:
  sh: Add a test for r216387 (long arithmetic expression in here document).

Added:
  head/tools/regression/bin/sh/expansion/arith7.0   (contents, props changed)

Added: head/tools/regression/bin/sh/expansion/arith7.0
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/tools/regression/bin/sh/expansion/arith7.0     Sun Dec 12 16:56:16 
2010        (r216395)
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+v=1+
+v=$v$v$v$v
+v=$v$v$v$v
+v=$v$v$v$v
+v=$v$v$v$v
+v=$v$v$v$v
+[ "$(cat <<EOF
+$(($v 1))
+EOF
+)" = 1025 ]
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to