aboutsummaryrefslogtreecommitdiff
path: root/src/suites/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/suites/cmd.py')
-rw-r--r--src/suites/cmd.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/suites/cmd.py b/src/suites/cmd.py
index b5b770f..19dd698 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/10/15 09:25:04 by cacharle ### ########.fr #
+# Updated: 2020/10/15 10:40:11 by cacharle ### ########.fr #
# #
# ############################################################################ #
@@ -84,6 +84,10 @@ def suite_redirection(test):
test("cat << << bar", setup="echo bonjour > bar", hook=hooks.error_line0, hook_status=hooks.platform_status(1, 2))
test("cat <<<<< bar", setup="echo bonjour > bar", hook=hooks.error_line0, hook_status=hooks.platform_status(1, 2))
test("cat < doesnotexist")
+ test("echo bonjour >> a", setup="echo a > a", files=["a"])
+ test("echo bonjour >> a >> a", setup="echo a > a", files=["a"])
+ test("echo bonjour > a", setup="echo a > a", files=["a"])
+ test("echo bonjour > a >> a", setup="echo a > a", files=["a"])
@suite()