aboutsummaryrefslogtreecommitdiff
path: root/src/suites/cmd.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-28 10:55:34 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-28 10:55:34 +0200
commit1e713de9e5013c91495e0428179947f0764409a8 (patch)
tree177fa05ce16114f2c84d564a139ee0662c1c2d82 /src/suites/cmd.py
parent4a6fb4b3f1f7209f8d56cd18fdf59860c98dc884 (diff)
downloadminishell_test-1e713de9e5013c91495e0428179947f0764409a8.tar.gz
minishell_test-1e713de9e5013c91495e0428179947f0764409a8.tar.bz2
minishell_test-1e713de9e5013c91495e0428179947f0764409a8.zip
Fixing some setup commands in order to work on mac
Diffstat (limited to 'src/suites/cmd.py')
-rw-r--r--src/suites/cmd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/suites/cmd.py b/src/suites/cmd.py
index 9363988..196ed85 100644
--- a/src/suites/cmd.py
+++ b/src/suites/cmd.py
@@ -6,7 +6,7 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/15 15:11:46 by charles #+# #+# #
-# Updated: 2020/09/15 11:51:58 by charles ### ########.fr #
+# Updated: 2020/09/28 10:40:39 by cacharle ### ########.fr #
# #
# ############################################################################ #
@@ -186,7 +186,7 @@ def suite_cmd_path(test):
test("_", setup="touch _")
test("'-'", setup="touch -")
test("./_", setup="touch _")
- test("./-", setup="touch a; mv a -- -")
+ test("./-", setup="touch a; mv a ./-")
test("./.", setup="touch .")
test("./..", setup="touch ..")
test("./somefile", setup='echo > somefile && chmod 0777 somefile')