Date: Sun, 15 Feb 2015 19:48:30 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278806 - head/bin/sh/tests/expansion Message-ID: <201502151948.t1FJmUX6017072@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Sun Feb 15 19:48:29 2015 New Revision: 278806 URL: https://svnweb.freebsd.org/changeset/base/278806 Log: sh: Add simple tests for globbing/splitting command substitution. Added: head/bin/sh/tests/expansion/ifs5.0 (contents, props changed) head/bin/sh/tests/expansion/pathname5.0 (contents, props changed) Modified: head/bin/sh/tests/expansion/Makefile Modified: head/bin/sh/tests/expansion/Makefile ============================================================================== --- head/bin/sh/tests/expansion/Makefile Sun Feb 15 18:02:05 2015 (r278805) +++ head/bin/sh/tests/expansion/Makefile Sun Feb 15 19:48:29 2015 (r278806) @@ -48,6 +48,7 @@ FILES+= ifs1.0 FILES+= ifs2.0 FILES+= ifs3.0 FILES+= ifs4.0 +FILES+= ifs5.0 FILES+= length1.0 FILES+= length2.0 FILES+= length3.0 @@ -62,6 +63,7 @@ FILES+= pathname1.0 FILES+= pathname2.0 FILES+= pathname3.0 FILES+= pathname4.0 +FILES+= pathname5.0 FILES+= plus-minus1.0 FILES+= plus-minus2.0 FILES+= plus-minus3.0 Added: head/bin/sh/tests/expansion/ifs5.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/sh/tests/expansion/ifs5.0 Sun Feb 15 19:48:29 2015 (r278806) @@ -0,0 +1,4 @@ +# $FreeBSD$ + +set -- $(echo a b c d) +[ "$#" = 4 ] Added: head/bin/sh/tests/expansion/pathname5.0 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/bin/sh/tests/expansion/pathname5.0 Sun Feb 15 19:48:29 2015 (r278806) @@ -0,0 +1,3 @@ +# $FreeBSD$ + +[ `echo '/[e]tc'` = /etc ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502151948.t1FJmUX6017072>