test for invalid named variables
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
hush: syntax error: unterminated ${name}
|
||||
hush: syntax error: unterminated ${name}
|
||||
hush: syntax error: unterminated ${name}
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
# reject invalid vars
|
||||
hush -c 'echo ${1q}'
|
||||
hush -c 'echo ${&}'
|
||||
hush -c 'echo ${$}'
|
||||
Reference in New Issue
Block a user