svn commit: r190300 - head/tools/regression/bin/sh/builtins
Stefan Farfeleder
stefanf at FreeBSD.org
Sun Mar 22 16:00:53 PDT 2009
Author: stefanf
Date: Sun Mar 22 23:00:52 2009
New Revision: 190300
URL: http://svn.freebsd.org/changeset/base/190300
Log:
Test the r190298 change.
Modified:
head/tools/regression/bin/sh/builtins/read1.0
head/tools/regression/bin/sh/builtins/read1.0.stdout
Modified: head/tools/regression/bin/sh/builtins/read1.0
==============================================================================
--- head/tools/regression/bin/sh/builtins/read1.0 Sun Mar 22 23:00:00 2009 (r190299)
+++ head/tools/regression/bin/sh/builtins/read1.0 Sun Mar 22 23:00:52 2009 (r190300)
@@ -7,6 +7,7 @@ echo "1 2 3" | { read a b c; echo "x${a
echo "1 2 3" | { read a b c d; echo "x${a}x${b}x${c}x${d}x"; }
echo " 1 2 3 " | { read a b c; echo "x${a}x${b}x${c}x"; }
+echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; }
echo " 1 2 3 " | { IFS=$(printf ' \t\n') read a b c; echo "x${a}x${b}x${c}x"; }
echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; }
Modified: head/tools/regression/bin/sh/builtins/read1.0.stdout
==============================================================================
--- head/tools/regression/bin/sh/builtins/read1.0.stdout Sun Mar 22 23:00:00 2009 (r190299)
+++ head/tools/regression/bin/sh/builtins/read1.0.stdout Sun Mar 22 23:00:52 2009 (r190300)
@@ -4,6 +4,7 @@ x1x2x3x
x1x2x3xx
x1x2x3x
x1x2x3x
+x1x2x3x
x 1 2 3 xx
x1x2x3x
xx2x3x
More information about the svn-src-all
mailing list