hush: add #defines to switch off break/continue if loops are not supported
*: remove a few inline keywords no code changes
This commit is contained in:
2
shell/hush_test/hush-misc/builtin1.right
Normal file
2
shell/hush_test/hush-misc/builtin1.right
Normal file
@@ -0,0 +1,2 @@
|
||||
VARIABLE=export
|
||||
OK:0
|
6
shell/hush_test/hush-misc/builtin1.tests
Executable file
6
shell/hush_test/hush-misc/builtin1.tests
Executable file
@@ -0,0 +1,6 @@
|
||||
# builtins, unlike keywords like "while", can be constructed
|
||||
# with substitutions
|
||||
VARIABLE=export
|
||||
$VARIABLE VARIABLE
|
||||
env | grep ^VARIABLE
|
||||
echo OK:$?
|
Reference in New Issue
Block a user