aboutsummaryrefslogtreecommitdiff
path: root/src/suites/path.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-11 18:32:57 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-11 18:32:57 +0200
commit1ad72842b3dcf10cc89cd682a044f4780ac97e41 (patch)
tree80c7ecbff4c3e20e3f6da86a96a3c7542c92500b /src/suites/path.py
parent1739695001889d53d29976943fda593d64afcefb (diff)
downloadminishell_test-1ad72842b3dcf10cc89cd682a044f4780ac97e41.tar.gz
minishell_test-1ad72842b3dcf10cc89cd682a044f4780ac97e41.tar.bz2
minishell_test-1ad72842b3dcf10cc89cd682a044f4780ac97e41.zip
Added export alone, quote missing and tab in cmd test
Diffstat (limited to 'src/suites/path.py')
-rw-r--r--src/suites/path.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/suites/path.py b/src/suites/path.py
index e4a650b..bcac98e 100644
--- a/src/suites/path.py
+++ b/src/suites/path.py
@@ -6,7 +6,7 @@
# By: charles <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/09/09 15:12:58 by charles #+# #+# #
-# Updated: 2020/09/09 15:39:17 by charles ### ########.fr #
+# Updated: 2020/09/11 17:43:14 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -59,9 +59,7 @@ def suite_path(test):
test("a", setup="mkdir path && cp /bin/ls ./path/a && chmod 6777 ./path/a", exports={"PATH": "path"})
test("a", setup="mkdir path && cp /bin/ls ./path/a && chmod 7777 ./path/a", exports={"PATH": "path"})
test("a", setup="mkdir path && cp /bin/ls ./path/a && chmod 0000 ./path/a", exports={"PATH": "path"})
-
test("b", setup="mkdir path && cp /bin/ls ./path/a && ln -s ./path/a ./path/b", exports={"PATH": "path"})
-
test("ls", exports={"PATH": "doesnotexits"})
test("ls", exports={"PATH": "doesnotexits:asdfasdfas"})
test("ls", exports={"PATH": "a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z"})