aboutsummaryrefslogtreecommitdiff
path: root/suites/builtin.py
diff options
context:
space:
mode:
Diffstat (limited to 'suites/builtin.py')
-rw-r--r--suites/builtin.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/suites/builtin.py b/suites/builtin.py
index 4e79432..30297e0 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/08/28 17:36:12 by charles ### ########.fr #
+# Updated: 2020/09/09 13:28:02 by charles ### ########.fr #
# #
# ############################################################################ #
@@ -125,6 +125,16 @@ def suite_cd(test):
test("cd //////////////////////////////////////////////////////; pwd; echo $PWD");
test("cd")
+ test("cd ' /'; pwd; echo $PWD")
+ test("cd ' / '; pwd; echo $PWD")
+ test("cd ' /'; pwd; echo $PWD")
+ test("cd ' / '; pwd; echo $PWD")
+ test("cd ' // '; pwd; echo $PWD")
+
+ test("cd //home; pwd; echo $PWD")
+ test("cd ' //home'; pwd; echo $PWD")
+ test("cd ' //home '; pwd; echo $PWD")
+
test("cd d", setup="mkdir -m 000 d")
test("cd d", setup="mkdir -m 001 d")
test("cd d", setup="mkdir -m 002 d")