diff options
Diffstat (limited to 'shell/msh_test/msh-bugs')
-rw-r--r-- | shell/msh_test/msh-bugs/noeol3.right | 1 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/noeol3.tests | 2 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/process_subst.right | 3 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/process_subst.tests | 3 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/read.right | 4 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/read.tests | 4 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/shift.right | 6 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/shift.tests | 14 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/starquoted.right | 8 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/starquoted.tests | 8 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/syntax_err.right | 2 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/syntax_err.tests | 3 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/var_expand_in_assign.right | 5 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/var_expand_in_assign.tests | 15 | ||||
-rw-r--r-- | shell/msh_test/msh-bugs/var_expand_in_redir.right | 3 | ||||
-rwxr-xr-x | shell/msh_test/msh-bugs/var_expand_in_redir.tests | 13 |
16 files changed, 0 insertions, 94 deletions
diff --git a/shell/msh_test/msh-bugs/noeol3.right b/shell/msh_test/msh-bugs/noeol3.right deleted file mode 100644 index 56f8515..0000000 --- a/shell/msh_test/msh-bugs/noeol3.right +++ /dev/null @@ -1 +0,0 @@ -hush: syntax error: unterminated " diff --git a/shell/msh_test/msh-bugs/noeol3.tests b/shell/msh_test/msh-bugs/noeol3.tests deleted file mode 100755 index ec958ed..0000000 --- a/shell/msh_test/msh-bugs/noeol3.tests +++ /dev/null @@ -1,2 +0,0 @@ -# last line has no EOL! -echo "unterminated
\ No newline at end of file diff --git a/shell/msh_test/msh-bugs/process_subst.right b/shell/msh_test/msh-bugs/process_subst.right deleted file mode 100644 index 397bc80..0000000 --- a/shell/msh_test/msh-bugs/process_subst.right +++ /dev/null @@ -1,3 +0,0 @@ -TESTzzBEST -TEST$(echo zz)BEST -TEST'BEST diff --git a/shell/msh_test/msh-bugs/process_subst.tests b/shell/msh_test/msh-bugs/process_subst.tests deleted file mode 100755 index 21996bc..0000000 --- a/shell/msh_test/msh-bugs/process_subst.tests +++ /dev/null @@ -1,3 +0,0 @@ -echo "TEST`echo zz;echo;echo`BEST" -echo "TEST`echo '$(echo zz)'`BEST" -echo "TEST`echo "'"`BEST" diff --git a/shell/msh_test/msh-bugs/read.right b/shell/msh_test/msh-bugs/read.right deleted file mode 100644 index 0e50e2a..0000000 --- a/shell/msh_test/msh-bugs/read.right +++ /dev/null @@ -1,4 +0,0 @@ -read -cat -echo "REPLY=$REPLY" -REPLY=exec <read.tests diff --git a/shell/msh_test/msh-bugs/read.tests b/shell/msh_test/msh-bugs/read.tests deleted file mode 100755 index ff1acbd..0000000 --- a/shell/msh_test/msh-bugs/read.tests +++ /dev/null @@ -1,4 +0,0 @@ -exec <read.tests -read -cat -echo "REPLY=$REPLY" diff --git a/shell/msh_test/msh-bugs/shift.right b/shell/msh_test/msh-bugs/shift.right deleted file mode 100644 index d281e35..0000000 --- a/shell/msh_test/msh-bugs/shift.right +++ /dev/null @@ -1,6 +0,0 @@ -./shift.tests abc d e -./shift.tests d e 123 -./shift.tests d e 123 -./shift.tests -./shift.tests -./shift.tests diff --git a/shell/msh_test/msh-bugs/shift.tests b/shell/msh_test/msh-bugs/shift.tests deleted file mode 100755 index 53ef249..0000000 --- a/shell/msh_test/msh-bugs/shift.tests +++ /dev/null @@ -1,14 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" $0 abc "d e" 123 -fi -echo $0 $1 $2 -shift -echo $0 $1 $2 -shift 999 -echo $0 $1 $2 -shift 2 -echo $0 $1 $2 -shift 2 -echo $0 $1 $2 -shift -echo $0 $1 $2 diff --git a/shell/msh_test/msh-bugs/starquoted.right b/shell/msh_test/msh-bugs/starquoted.right deleted file mode 100644 index b56323f..0000000 --- a/shell/msh_test/msh-bugs/starquoted.right +++ /dev/null @@ -1,8 +0,0 @@ -.1 abc d e f. -.1. -.abc. -.d e f. -.-1 abc d e f-. -.-1. -.abc. -.d e f-. diff --git a/shell/msh_test/msh-bugs/starquoted.tests b/shell/msh_test/msh-bugs/starquoted.tests deleted file mode 100755 index 2fe49b1..0000000 --- a/shell/msh_test/msh-bugs/starquoted.tests +++ /dev/null @@ -1,8 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" "$0" 1 abc 'd e f' -fi - -for a in "$*"; do echo ".$a."; done -for a in "$@"; do echo ".$a."; done -for a in "-$*-"; do echo ".$a."; done -for a in "-$@-"; do echo ".$a."; done diff --git a/shell/msh_test/msh-bugs/syntax_err.right b/shell/msh_test/msh-bugs/syntax_err.right deleted file mode 100644 index 08a270c..0000000 --- a/shell/msh_test/msh-bugs/syntax_err.right +++ /dev/null @@ -1,2 +0,0 @@ -shown -hush: syntax error: unterminated ' diff --git a/shell/msh_test/msh-bugs/syntax_err.tests b/shell/msh_test/msh-bugs/syntax_err.tests deleted file mode 100755 index d10ed42..0000000 --- a/shell/msh_test/msh-bugs/syntax_err.tests +++ /dev/null @@ -1,3 +0,0 @@ -echo shown -echo test `echo 'aa` -echo not shown diff --git a/shell/msh_test/msh-bugs/var_expand_in_assign.right b/shell/msh_test/msh-bugs/var_expand_in_assign.right deleted file mode 100644 index 352210d..0000000 --- a/shell/msh_test/msh-bugs/var_expand_in_assign.right +++ /dev/null @@ -1,5 +0,0 @@ -. . -.abc d e. -.abc d e. -.abc d e. -.abc d e. diff --git a/shell/msh_test/msh-bugs/var_expand_in_assign.tests b/shell/msh_test/msh-bugs/var_expand_in_assign.tests deleted file mode 100755 index 18cdc74..0000000 --- a/shell/msh_test/msh-bugs/var_expand_in_assign.tests +++ /dev/null @@ -1,15 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" "$0" abc "d e" -fi - -space=' ' -echo .$space. - -a=$* -echo .$a. -a=$@ -echo .$a. -a="$*" -echo .$a. -a="$@" -echo .$a. diff --git a/shell/msh_test/msh-bugs/var_expand_in_redir.right b/shell/msh_test/msh-bugs/var_expand_in_redir.right deleted file mode 100644 index 423299c..0000000 --- a/shell/msh_test/msh-bugs/var_expand_in_redir.right +++ /dev/null @@ -1,3 +0,0 @@ -TEST1 -TEST2 -TEST3 diff --git a/shell/msh_test/msh-bugs/var_expand_in_redir.tests b/shell/msh_test/msh-bugs/var_expand_in_redir.tests deleted file mode 100755 index bda6bdd..0000000 --- a/shell/msh_test/msh-bugs/var_expand_in_redir.tests +++ /dev/null @@ -1,13 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" "$0" abc "d e" -fi - -echo TEST1 >"$1.out" -echo TEST2 >"$2.out" -# bash says: "$@.out": ambiguous redirect -# ash handles it as if it is '$*' - we do the same -echo TEST3 >"$@.out" - -cat abc.out "d e.out" "abc d e.out" - -rm abc.out "d e.out" "abc d e.out" |