From 9ae06d1ada7828f986b8aa1ab9364ac2f9f0cbd7 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 19 Jun 2020 11:44:44 +0200 Subject: Added operator test, Fixing false positive with cd, export and unset --- suites/suites.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'suites/suites.py') diff --git a/suites/suites.py b/suites/suites.py index f56875e..9f6ce86 100644 --- a/suites/suites.py +++ b/suites/suites.py @@ -76,6 +76,10 @@ def suite_redirection(test): def suite_edgecases(test): test('echo "\\"" >>a"b""c" ', files=["abc"]) test("echo " + ''.join([chr(i) for i in range(1, 127) if chr(i) not in '\n`"\'()|&><'])) + test("echo foo>bar", files=["bar"]) + test("echo foo >bar", files=["bar"]) + test("echo foo> bar", files=["bar"]) + test("echo foo > bar", files=["bar"]) @suite def suite_cmd_error(test): -- cgit