2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
2017-08-02 11:58:40 +08:00
|
|
|
# Verify behavior of `set --show` given an invalid var name
|
|
|
|
$argle bargle: invalid var name
|
2017-08-04 12:25:20 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Verify behavior of `set --show`
|
2017-08-04 14:57:36 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Appending works
|
|
|
|
|
|
|
|
####################
|
|
|
|
# Prepending works
|
|
|
|
|
|
|
|
####################
|
|
|
|
# Appending and prepending at same time works
|
2017-08-20 12:39:21 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Setting local scope when no local scope of the var uses the closest scope
|
2018-03-25 14:32:55 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Exporting works
|
2018-04-01 05:57:24 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# if/for/while scope
|
2018-11-19 05:32:43 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# readonly vars
|
|
|
|
set: Tried to change the read-only variable 'status'
|