summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2009-03-22 23:00:52 +0000
committerstefanf <stefanf@FreeBSD.org>2009-03-22 23:00:52 +0000
commit106f32b27d5cca98bf5757cbc38a11036042aa71 (patch)
treefaac1ffff532aac0c5319333767af6084a59b584
parent92cca788e9e3915b7f1e299417bb84c98f85ac82 (diff)
downloadFreeBSD-src-106f32b27d5cca98bf5757cbc38a11036042aa71.zip
FreeBSD-src-106f32b27d5cca98bf5757cbc38a11036042aa71.tar.gz
Test the r190298 change.
-rw-r--r--tools/regression/bin/sh/builtins/read1.01
-rw-r--r--tools/regression/bin/sh/builtins/read1.0.stdout1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/read1.0 b/tools/regression/bin/sh/builtins/read1.0
index 1bca518..06a68fa 100644
--- a/tools/regression/bin/sh/builtins/read1.0
+++ b/tools/regression/bin/sh/builtins/read1.0
@@ -7,6 +7,7 @@ echo "1 2 3" | { read a b c; echo "x${a}x${b}x${c}x"; }
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"; }
diff --git a/tools/regression/bin/sh/builtins/read1.0.stdout b/tools/regression/bin/sh/builtins/read1.0.stdout
index 752b969..dbcb1af 100644
--- a/tools/regression/bin/sh/builtins/read1.0.stdout
+++ b/tools/regression/bin/sh/builtins/read1.0.stdout
@@ -4,6 +4,7 @@ x1x2x3x
x1x2x3xx
x1x2x3x
x1x2x3x
+x1x2x3x
x 1 2 3 xx
x1x2x3x
xx2x3x
OpenPOWER on IntegriCloud