2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-08-04 11:56:14 +08:00
|
|
|
# Command sub just under the limit should succeed
|
|
|
|
$a: not set in local scope
|
|
|
|
$a: set in global scope, unexported, with 1 elements
|
2017-08-05 08:08:25 +08:00
|
|
|
$a[1]: length=511 value=|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|
|
2017-08-04 11:56:14 +08:00
|
|
|
$a: not set in universal scope
|
|
|
|
|
2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-08-04 11:56:14 +08:00
|
|
|
# Command sub at the limit should fail
|
|
|
|
$b: not set in local scope
|
|
|
|
$b: not set in global scope
|
|
|
|
$b: not set in universal scope
|
|
|
|
|
2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-08-04 11:56:14 +08:00
|
|
|
# Command sub over the limit should fail
|
|
|
|
$c: not set in local scope
|
2017-08-17 04:39:48 +08:00
|
|
|
$c: set in global scope, unexported, with 1 elements
|
|
|
|
$c[1]: length=0 value=||
|
2017-08-04 11:56:14 +08:00
|
|
|
$c: not set in universal scope
|
|
|
|
|
2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-07-27 11:17:04 +08:00
|
|
|
# Make sure output from builtins outside of command substitution is not affected
|
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-08-04 11:56:14 +08:00
|
|
|
# Same builtin in a command substitution is affected
|