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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu May 28 15:21:19 CEST 2009


Author: mattm
Date: 2009-05-28 15:21:18 +0200 (Thu, 28 May 2009)
New Revision: 3518

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tests/omp_get_nvt_feed_details_4.c
Log:
	* src/tests/omp_get_nvt_feed_details_4.c: Get ID via get_nvt_feed_all
	instead of get_nvt_feed_details.  Remove printing.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-05-28 13:11:10 UTC (rev 3517)
+++ trunk/openvas-manager/ChangeLog	2009-05-28 13:21:18 UTC (rev 3518)
@@ -1,5 +1,10 @@
 2009-05-28  Matthew Mundell <mmundell at intevation.de>
 
+	* src/tests/omp_get_nvt_feed_details_4.c: Get ID via get_nvt_feed_all
+	instead of get_nvt_feed_details.  Remove printing.
+
+2009-05-28  Matthew Mundell <mmundell at intevation.de>
+
 	* src/openvasmd.c (read_protocol): Use the right socket.
 
 2009-05-28  Matthew Mundell <mmundell at intevation.de>

Modified: trunk/openvas-manager/src/tests/omp_get_nvt_feed_details_4.c
===================================================================
--- trunk/openvas-manager/src/tests/omp_get_nvt_feed_details_4.c	2009-05-28 13:11:10 UTC (rev 3517)
+++ trunk/openvas-manager/src/tests/omp_get_nvt_feed_details_4.c	2009-05-28 13:21:18 UTC (rev 3518)
@@ -136,9 +136,9 @@
   delete_task (&session, id);
   free (id);
 
-  /* Get all feed details, to get details of one NVT. */
+  /* Get summary of all NVTs, to get details of one NVT. */
 
-  if (send_to_manager (&session, "<get_nvt_feed_details/>") == -1)
+  if (send_to_manager (&session, "<get_nvt_feed_all/>") == -1)
     {
       close_manager_connection (socket, session);
       return EXIT_FAILURE;
@@ -180,7 +180,6 @@
       close_manager_connection (socket, session);
       return EXIT_FAILURE;
     }
-  if (entity) print_entity (stdout, entity);
 
   /* Compare to expected response. */
 



More information about the Openvas-commits mailing list