aboutsummaryrefslogtreecommitdiff
path: root/suites/builtin.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-08-28 17:51:18 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-08-28 17:51:18 +0200
commit63d58003edaf5621b5fbfc921583ba18d378ba00 (patch)
treebf3b9407074627b87a90bc35e7286cc829c3a465 /suites/builtin.py
parentaacf088db4d9d3e0b450247abe1d8f258d07d862 (diff)
downloadminishell_test-63d58003edaf5621b5fbfc921583ba18d378ba00.tar.gz
minishell_test-63d58003edaf5621b5fbfc921583ba18d378ba00.tar.bz2
minishell_test-63d58003edaf5621b5fbfc921583ba18d378ba00.zip
Added edge case preprocessing, export test
Diffstat (limited to 'suites/builtin.py')
-rw-r--r--suites/builtin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/suites/builtin.py b/suites/builtin.py
index 4cdee9a..4e79432 100644
--- a/suites/builtin.py
+++ b/suites/builtin.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:43 by charles #+# #+# #
-# Updated: 2020/07/20 10:06:47 by charles ### ########.fr #
+# Updated: 2020/08/28 17:36:12 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -86,6 +86,7 @@ def suite_export(test):
test("export A 'asdf ' B ' asdf asdf asd f' ' asdf ' '' 'asdf ' C; echo $A$B$C")
test("export 'asdf ' B ' asdf asdf asd f' ' asdf ' '' 'asdf ' C; echo $A$B$C")
test("export A 'asdf ' B ' asdf asdf asd f' ' asdf ' '' 'asdf '; echo $A$B$C")
+ test("export A B C; echo $A$B$C")
test("export $TEST", exports={"TEST": "A=a"})