[Openvas-commits] r5725 - in trunk/openvas-manager: . src/tests

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 26 12:07:01 CET 2009


Author: mattm
Date: 2009-10-26 12:06:58 +0100 (Mon, 26 Oct 2009)
New Revision: 5725

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tests/omp_create_lsc_credential_0.c
   trunk/openvas-manager/src/tests/omp_create_lsc_credential_1.c
   trunk/openvas-manager/src/tests/omp_delete_lsc_credential_0.c
   trunk/openvas-manager/src/tests/omp_get_lsc_credentials_0.c
Log:
	* src/tests/omp_get_lsc_credentials_0.c,
	src/tests/omp_create_lsc_credentials_0.c,
	src/tests/omp_create_lsc_credentials_1.c,
	src/tests/omp_delete_lsc_credential_0.c: Remove underscores and spaces
	from LSC names.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-26 10:57:03 UTC (rev 5724)
+++ trunk/openvas-manager/ChangeLog	2009-10-26 11:06:58 UTC (rev 5725)
@@ -1,3 +1,11 @@
+2009-10-26  Matthew Mundell <matthew.mundell at intevation.de>
+
+	* src/tests/omp_get_lsc_credentials_0.c,
+	src/tests/omp_create_lsc_credentials_0.c,
+	src/tests/omp_create_lsc_credentials_1.c,
+	src/tests/omp_delete_lsc_credential_0.c: Remove underscores and spaces
+	from LSC names.
+
 2009-10-24  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* src/lsc_user.c (ssh_privkey_create): Quote passwords for openssl.

Modified: trunk/openvas-manager/src/tests/omp_create_lsc_credential_0.c
===================================================================
--- trunk/openvas-manager/src/tests/omp_create_lsc_credential_0.c	2009-10-26 10:57:03 UTC (rev 5724)
+++ trunk/openvas-manager/src/tests/omp_create_lsc_credential_0.c	2009-10-26 11:06:58 UTC (rev 5725)
@@ -53,10 +53,10 @@
       return EXIT_FAILURE;
     }
 
-  omp_delete_lsc_credential (&session, "omp_create_lsc_credential_0");
+  omp_delete_lsc_credential (&session, "ompcreatelsccredential0");
   if (openvas_server_send (&session,
                            "<create_lsc_credential>"
-                           "<name>omp_create_lsc_credential_0</name>"
+                           "<name>ompcreatelsccredential0</name>"
                            "</create_lsc_credential>")
       == -1)
     {
@@ -86,7 +86,7 @@
 
   /* Cleanup. */
 
-  omp_delete_lsc_credential (&session, "omp_create_lsc_credential_0");
+  omp_delete_lsc_credential (&session, "ompcreatelsccredential0");
   close_manager_connection (socket, session);
   free_entity (entity);
   free_entity (expected);

Modified: trunk/openvas-manager/src/tests/omp_create_lsc_credential_1.c
===================================================================
--- trunk/openvas-manager/src/tests/omp_create_lsc_credential_1.c	2009-10-26 10:57:03 UTC (rev 5724)
+++ trunk/openvas-manager/src/tests/omp_create_lsc_credential_1.c	2009-10-26 11:06:58 UTC (rev 5725)
@@ -53,9 +53,9 @@
       return EXIT_FAILURE;
     }
 
-  omp_delete_lsc_credential (&session, "omp_create_lsc_credential_1");
+  omp_delete_lsc_credential (&session, "ompcreatelsccredential1");
   if (openvas_server_send (&session, "<create_lsc_credential>"
-                                     "<name>omp_create_lsc_credential_1</name>"
+                                     "<name>ompcreatelsccredential1</name>"
                                      "</create_lsc_credential>")
       == -1)
     {
@@ -82,7 +82,7 @@
     {
       openvas_server_send (&session,
                            "<delete_lsc_credential"
-                           " name=\"omp_create_lsc_credential_1\"/>");
+                           " name=\"ompcreatelsccredential1\"/>");
       close_manager_connection (socket, session);
       free_entity (entity);
       free_entity (expected);
@@ -94,7 +94,7 @@
   /* Try create LSC credential again. */
 
   if (openvas_server_send (&session, "<create_lsc_credential>"
-                                     "<name>omp_create_lsc_credential_1</name>"
+                                     "<name>ompcreatelsccredential1</name>"
                                      "</create_lsc_credential>")
       == -1)
     {
@@ -124,7 +124,7 @@
 
   /* Cleanup. */
 
-  omp_delete_lsc_credential (&session, "omp_create_lsc_credential_1");
+  omp_delete_lsc_credential (&session, "ompcreatelsccredential1");
   close_manager_connection (socket, session);
   free_entity (entity);
   free_entity (expected);

Modified: trunk/openvas-manager/src/tests/omp_delete_lsc_credential_0.c
===================================================================
--- trunk/openvas-manager/src/tests/omp_delete_lsc_credential_0.c	2009-10-26 10:57:03 UTC (rev 5724)
+++ trunk/openvas-manager/src/tests/omp_delete_lsc_credential_0.c	2009-10-26 11:06:58 UTC (rev 5725)
@@ -53,10 +53,10 @@
       return EXIT_FAILURE;
     }
 
-  omp_delete_lsc_credential (&session, "omp_delete_lsc_credential_0");
+  omp_delete_lsc_credential (&session, "ompdeletelsccredential0");
   if (openvas_server_send (&session,
                            "<create_lsc_credential>"
-                           "<name>omp_delete_lsc_credential_0</name>"
+                           "<name>ompdeletelsccredential0</name>"
                            "</create_lsc_credential>")
       == -1)
     {
@@ -93,7 +93,7 @@
 
   if (openvas_server_send (&session,
                            "<delete_lsc_credential>"
-                           "<name>omp_delete_lsc_credential_0</name>"
+                           "<name>ompdeletelsccredential0</name>"
                            "</delete_lsc_credential>")
       == -1)
     {

Modified: trunk/openvas-manager/src/tests/omp_get_lsc_credentials_0.c
===================================================================
--- trunk/openvas-manager/src/tests/omp_get_lsc_credentials_0.c	2009-10-26 10:57:03 UTC (rev 5724)
+++ trunk/openvas-manager/src/tests/omp_get_lsc_credentials_0.c	2009-10-26 11:06:58 UTC (rev 5725)
@@ -33,8 +33,8 @@
 #include "common.h"
 #include "../tracef.h"
 
-#define NAME_1 "omp_get_lsc_credentials_0 1"
-#define NAME_2 "omp_get_lsc_credentials_0 2"
+#define NAME_1 "ompgetlsccredentials0name1"
+#define NAME_2 "ompgetlsccredentials0name2"
 #define COMMENT_1 "Test comment."
 
 int



More information about the Openvas-commits mailing list