sh: Fix duplicate variable name in test.

This commit is contained in:
Jilles Tjoelker 2010-04-03 21:56:24 +00:00
parent 382e6ae29d
commit 5cada825b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206149

View File

@ -29,12 +29,12 @@ testcase 'set -- x~' '1|x~'
testcase 'set -- ~root' "1|$roothome"
h=~
testcase 'set -- "$h"' '1|/tmp'
oIFS=$IFS
ooIFS=$IFS
IFS=m
testcase 'set -- ~' '1|/tmp'
testcase 'set -- ~/foo' '1|/tmp/foo'
testcase 'set -- $h' '2|/t|p'
IFS=$oIFS
IFS=$ooIFS
t=\~
testcase 'set -- $t' '1|~'
r=$(cat <<EOF