svn commit: r206149 - head/tools/regression/bin/sh/expansion
Jilles Tjoelker
jilles at FreeBSD.org
Sat Apr 3 21:56:24 UTC 2010
Author: jilles
Date: Sat Apr 3 21:56:24 2010
New Revision: 206149
URL: http://svn.freebsd.org/changeset/base/206149
Log:
sh: Fix duplicate variable name in test.
Modified:
head/tools/regression/bin/sh/expansion/tilde1.0
Modified: head/tools/regression/bin/sh/expansion/tilde1.0
==============================================================================
--- head/tools/regression/bin/sh/expansion/tilde1.0 Sat Apr 3 21:32:22 2010 (r206148)
+++ head/tools/regression/bin/sh/expansion/tilde1.0 Sat Apr 3 21:56:24 2010 (r206149)
@@ -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
More information about the svn-src-head
mailing list