sh: Add simple tests for globbing/splitting command substitution.

This commit is contained in:
Jilles Tjoelker 2015-02-15 19:48:29 +00:00
parent b78ceb0a58
commit 8c6cc7dad5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278806
3 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
# $FreeBSD$
set -- $(echo a b c d)
[ "$#" = 4 ]

View File

@ -0,0 +1,3 @@
# $FreeBSD$
[ `echo '/[e]tc'` = /etc ]