ash: add all hush parsing tests to ast tests
All pass. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
21
shell/ash_test/ash-parsing/quote3.tests
Executable file
21
shell/ash_test/ash-parsing/quote3.tests
Executable file
@@ -0,0 +1,21 @@
|
||||
empty=''
|
||||
|
||||
echo 'Testing: in ""'
|
||||
for a in ""; do echo ".$a."; done
|
||||
|
||||
echo 'Testing: in '"''"
|
||||
for a in ''; do echo ".$a."; done
|
||||
|
||||
echo 'Testing: in $empty'
|
||||
for a in $empty; do echo ".$a."; done
|
||||
|
||||
echo 'Testing: in $empty""'
|
||||
for a in $empty""; do echo ".$a."; done
|
||||
|
||||
echo 'Testing: in $empty'"''"
|
||||
for a in $empty''; do echo ".$a."; done
|
||||
|
||||
echo 'Testing: in "$empty"'
|
||||
for a in "$empty"; do echo ".$a."; done
|
||||
|
||||
echo Finished
|
Reference in New Issue
Block a user