diff options
author | June McEnroe <june@causal.agency> | 2019-01-10 20:19:51 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-10 20:19:51 -0500 |
commit | fb2b96be043fdba3ab70f256cad339b848b8c30f (patch) | |
tree | 8f5147243cfcebc7fdc1a616aeadd88e9bfe207b /bin/cash/tests/builtins/read1.0 | |
parent | Remove funcs (diff) | |
download | src-fb2b96be043fdba3ab70f256cad339b848b8c30f.tar.gz src-fb2b96be043fdba3ab70f256cad339b848b8c30f.zip |
Remove cash/tests
Diffstat (limited to '')
-rw-r--r-- | bin/cash/tests/builtins/read1.0 | 26 | ||||
-rw-r--r-- | bin/cash/tests/builtins/read1.0.stdout | 20 |
2 files changed, 0 insertions, 46 deletions
diff --git a/bin/cash/tests/builtins/read1.0 b/bin/cash/tests/builtins/read1.0 deleted file mode 100644 index 753613d0..00000000 --- a/bin/cash/tests/builtins/read1.0 +++ /dev/null @@ -1,26 +0,0 @@ -# $FreeBSD: releng/12.0/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/cash/tests/builtins/read1.0.stdout b/bin/cash/tests/builtins/read1.0.stdout deleted file mode 100644 index dbcb1af9..00000000 --- a/bin/cash/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 |