From f3d205ad4484240587382a702e7fa0f395b4a41f Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 20 Mar 2024 15:40:02 +0100 Subject: [PATCH] virshtest: Drop some redundant 'echo' cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both argument passing and multiple command handling is already tested in the 'multiple commands' cases. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/virshtest.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/virshtest.c b/tests/virshtest.c index 51314859b9..a60cfdf7a0 100644 --- a/tests/virshtest.c +++ b/tests/virshtest.c @@ -592,12 +592,6 @@ mymain(void) } while (0) /* Arg parsing quote removal tests. */ - DO_TEST(0, "\n", - "echo"); - DO_TEST(1, "a\n", - "echo", "a"); - DO_TEST(2, "a b\n", - "echo", "a", "b"); DO_TEST(3, "a b\n", "echo a \t b"); DO_TEST(4, "a \t b\n", @@ -606,10 +600,6 @@ mymain(void) "echo 'a \t b'"); DO_TEST(6, "a \t b\n", "echo a\\ \\\t\\ b"); - DO_TEST(7, "\n\n", - "echo ; echo"); - DO_TEST(8, "a\nb\n", - ";echo a; ; echo b;"); DO_TEST(9, "' \" \\;echo\ta\n", "echo", "'", "\"", "\\;echo\ta"); DO_TEST(10, "' \" ;echo a\n",