aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/suites/builtin.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/suites/builtin.py b/src/suites/builtin.py
index c782f4d..2b1fd54 100644
--- a/src/suites/builtin.py
+++ b/src/suites/builtin.py
@@ -1,14 +1,14 @@
-# ############################################################################ #
+# **************************************************************************** #
# #
# ::: :::::::: #
# builtin.py :+: :+: :+: #
# +:+ +:+ +:+ #
-# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
+# By: juligonz <juligonz@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 18:24:43 by charles #+# #+# #
-# Updated: 2020/09/11 16:13:26 by charles ### ########.fr #
+# Updated: 2020/09/11 17:53:52 by juligonz ### ########.fr #
# #
-# ############################################################################ #
+# **************************************************************************** #
import os
@@ -89,6 +89,17 @@ def suite_export(test):
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 'AH@'=nop")
+ test("export \"AH'\"=nop")
+ test("export 'AH\"'=nop")
+ test("export 'AH$'=nop")
+ test("export 'AH!'=nop")
+ test("export 'AH|'=nop")
+ test("export 'AH;'=nop")
+ test("export 'AH&'=nop")
+ test("export 'AH\\'=nop")
+
test("export $TEST", exports={"TEST": "A=a"})
@suite()