diff options
author | jilles <jilles@FreeBSD.org> | 2010-04-03 21:56:24 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-04-03 21:56:24 +0000 |
commit | 2b94976ff794b04695669e119aa0fe941a54408b (patch) | |
tree | c156a1aa3c2db8f1dcb9c4dbc1dc3b6b4c914888 /tools | |
parent | 58f0facfbf4e6c668463aa7d329c89959dfd11f2 (diff) | |
download | FreeBSD-src-2b94976ff794b04695669e119aa0fe941a54408b.zip FreeBSD-src-2b94976ff794b04695669e119aa0fe941a54408b.tar.gz |
sh: Fix duplicate variable name in test.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/bin/sh/expansion/tilde1.0 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/bin/sh/expansion/tilde1.0 b/tools/regression/bin/sh/expansion/tilde1.0 index f7aecaf..7d8581b 100644 --- a/tools/regression/bin/sh/expansion/tilde1.0 +++ b/tools/regression/bin/sh/expansion/tilde1.0 @@ -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 |