diff options
author | June McEnroe <june@causal.agency> | 2020-03-09 04:03:18 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-09 04:03:18 -0400 |
commit | 91f06c38c1dd8fd7c8f71637128faf6dbc9b460e (patch) | |
tree | c0fcfa39de48a902b1ebcfa9877c28235d040e2d /bin/1sh/tests/builtins/read1.0 | |
parent | Import /usr/src/bin/sh from FreeBSD 12.1-RELEASE (diff) | |
download | src-91f06c38c1dd8fd7c8f71637128faf6dbc9b460e.tar.gz src-91f06c38c1dd8fd7c8f71637128faf6dbc9b460e.zip |
Remove extraneous files from sh sources
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/tests/builtins/read1.0 | 26 | ||||
-rw-r--r-- | bin/1sh/tests/builtins/read1.0.stdout | 20 |
2 files changed, 0 insertions, 46 deletions
diff --git a/bin/1sh/tests/builtins/read1.0 b/bin/1sh/tests/builtins/read1.0 deleted file mode 100644 index e0d75152..00000000 --- a/bin/1sh/tests/builtins/read1.0 +++ /dev/null @@ -1,26 +0,0 @@ -# $FreeBSD: releng/12.1/bin/sh/tests/builtins/read1.0 190300 2009-03-22 23:00:52Z stefanf $ -set -e - -echo "1 2 3" | { read a; echo "x${a}x"; } -echo "1 2 3" | { read a b; echo "x${a}x${b}x"; } -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"; } - -echo " 1,2 3 " | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } -echo ", 2 ,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,,3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 , , 3" | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,2 3," | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,2 3,," | { IFS=' ,' read a b c; echo "x${a}x${b}x${c}x"; } - -echo " 1,2 3 " | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } -echo ", 2 ,3" | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,,3" | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 , , 3" | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,2 3," | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } -echo " 1 ,2 3,," | { IFS=', ' read a b c; echo "x${a}x${b}x${c}x"; } diff --git a/bin/1sh/tests/builtins/read1.0.stdout b/bin/1sh/tests/builtins/read1.0.stdout deleted file mode 100644 index dbcb1af9..00000000 --- a/bin/1sh/tests/builtins/read1.0.stdout +++ /dev/null @@ -1,20 +0,0 @@ -x1 2 3x -x1x2 3x -x1x2x3x -x1x2x3xx -x1x2x3x -x1x2x3x -x1x2x3x -x 1 2 3 xx -x1x2x3x -xx2x3x -x1xx3x -x1xx3x -x1x2x3x -x1x2x3,,x -x1x2x3x -xx2x3x -x1xx3x -x1xx3x -x1x2x3x -x1x2x3,,x |