aboutsummaryrefslogtreecommitdiff
path: root/suites/preprocess.py
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-13 15:47:18 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-13 15:47:18 +0200
commitcc041d1901daa8be9197a59d963466fdc7e2b404 (patch)
tree9bfc7150da8ab43101267f2e3875b59ace55638e /suites/preprocess.py
parent3f2db95d5563c9c2b92a0531ddee28f79f438706 (diff)
downloadminishell_test-cc041d1901daa8be9197a59d963466fdc7e2b404.tar.gz
minishell_test-cc041d1901daa8be9197a59d963466fdc7e2b404.tar.bz2
minishell_test-cc041d1901daa8be9197a59d963466fdc7e2b404.zip
Added cmd variable tests and empty quote
Diffstat (limited to 'suites/preprocess.py')
-rw-r--r--suites/preprocess.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/suites/preprocess.py b/suites/preprocess.py
index 62588b7..34dac00 100644
--- a/suites/preprocess.py
+++ b/suites/preprocess.py
@@ -17,6 +17,12 @@ def suite_quote(test):
test('echo "\\$"')
test('echo "\\\\"')
+ test('ls ""')
+ test("ls ''")
+
+ test('ls "" "" "" \'\' """"')
+ test("ls '' '' '''' ''")
+
@suite
def suite_interpolation(test):
test("echo $TEST", exports={"TEST": "bonjour"})