Imported from ../bash-4.0-rc1.tar.gz.
This commit is contained in:
parent
f1be666c7d
commit
3185942a52
666 changed files with 188710 additions and 54674 deletions
21
tests/exp1.sub
Normal file
21
tests/exp1.sub
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Test the substitution quoting characters (CTLESC and CTLNUL) in different
|
||||
# combinations
|
||||
|
||||
recho `echo ''`
|
||||
recho `echo ""`
|
||||
recho `echo `
|
||||
|
||||
# Test the unquoted special quoting characters
|
||||
recho
|
||||
recho ""
|
||||
recho ''
|
||||
|
||||
# This should give argv[1] = ^A argv[2] = ^?
|
||||
FOO=`echo ' ' | tr ' ' '\012'`
|
||||
recho $FOO
|
||||
|
||||
# Test patterns that come up when the shell quotes funny character
|
||||
# combinations
|
||||
recho ''
|
||||
recho ''
|
||||
recho ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue