[PATCH 06/35] virshtest: Drop some redundant 'echo' cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both argument passing and multiple command handling is already tested in
the 'multiple commands' cases.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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",
-- 
2.44.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux