[Openvas-commits] r3458 - trunk/openvas-manager/src/tests
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri May 22 11:36:52 CEST 2009
Author: mattm
Date: 2009-05-22 11:36:50 +0200 (Fri, 22 May 2009)
New Revision: 3458
Removed:
trunk/openvas-manager/src/tests/make_report_id_0.c
trunk/openvas-manager/src/tests/report_path_task_name_0.c
trunk/openvas-manager/src/tests/report_path_task_name_1.c
trunk/openvas-manager/src/tests/report_path_task_name_2.c
Log:
Rename files, as per ChangeLog of last commit.
Deleted: trunk/openvas-manager/src/tests/make_report_id_0.c
===================================================================
--- trunk/openvas-manager/src/tests/make_report_id_0.c 2009-05-22 09:07:04 UTC (rev 3457)
+++ trunk/openvas-manager/src/tests/make_report_id_0.c 2009-05-22 09:36:50 UTC (rev 3458)
@@ -1,42 +0,0 @@
-/* Test 0 of make_report_id.
- * $Id$
- * Description: Test make_report_id.
- *
- * Authors:
- * Matthew Mundell <matt at mundell.ukfsn.org>
- *
- * Copyright:
- * Copyright (C) 2009 Greenbone Networks GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * or, at your option, any later version as published by the Free
- * Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../manage.h"
-
-int
-main ()
-{
- char* id1 = make_report_uuid ();
- char* id2 = make_report_uuid ();
- int ret = strcmp (id1, id2);
- free (id1);
- free (id2);
- if (ret) return EXIT_SUCCESS;
- return EXIT_FAILURE;
-}
Deleted: trunk/openvas-manager/src/tests/report_path_task_name_0.c
===================================================================
--- trunk/openvas-manager/src/tests/report_path_task_name_0.c 2009-05-22 09:07:04 UTC (rev 3457)
+++ trunk/openvas-manager/src/tests/report_path_task_name_0.c 2009-05-22 09:36:50 UTC (rev 3458)
@@ -1,40 +0,0 @@
-/* Test 0 of report_path_task_name.
- * $Id$
- * Description: Test report_path_task_name.
- *
- * Authors:
- * Matthew Mundell <matt at mundell.ukfsn.org>
- *
- * Copyright:
- * Copyright (C) 2009 Greenbone Networks GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * or, at your option, any later version as published by the Free
- * Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../manage.h"
-
-int
-main ()
-{
- gchar* name = report_path_task_uuid ("/var/lib/openvas/mgr/users/user/tasks/01-abc-02001020/reports/report-id");
- int ret = strcmp (name, "01-abc-02001020");
- g_free (name);
- if (ret) return EXIT_FAILURE;
- return EXIT_SUCCESS;
-}
Deleted: trunk/openvas-manager/src/tests/report_path_task_name_1.c
===================================================================
--- trunk/openvas-manager/src/tests/report_path_task_name_1.c 2009-05-22 09:07:04 UTC (rev 3457)
+++ trunk/openvas-manager/src/tests/report_path_task_name_1.c 2009-05-22 09:36:50 UTC (rev 3458)
@@ -1,40 +0,0 @@
-/* Test 1 of report_path_task_name.
- * $Id$
- * Description: Test report_path_task_name with a trailing slash.
- *
- * Authors:
- * Matthew Mundell <matt at mundell.ukfsn.org>
- *
- * Copyright:
- * Copyright (C) 2009 Greenbone Networks GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * or, at your option, any later version as published by the Free
- * Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../manage.h"
-
-int
-main ()
-{
- gchar* name = report_path_task_uuid ("/var/lib/openvas/mgr/users/user/tasks/01-abc-02001020/reports/report-id/");
- int ret = strcmp (name, "01-abc-02001020");
- g_free (name);
- if (ret) return EXIT_FAILURE;
- return EXIT_SUCCESS;
-}
Deleted: trunk/openvas-manager/src/tests/report_path_task_name_2.c
===================================================================
--- trunk/openvas-manager/src/tests/report_path_task_name_2.c 2009-05-22 09:07:04 UTC (rev 3457)
+++ trunk/openvas-manager/src/tests/report_path_task_name_2.c 2009-05-22 09:36:50 UTC (rev 3458)
@@ -1,40 +0,0 @@
-/* Test 2 of report_path_task_name.
- * $Id$
- * Description: Test report_path_task_name with a relative path.
- *
- * Authors:
- * Matthew Mundell <matt at mundell.ukfsn.org>
- *
- * Copyright:
- * Copyright (C) 2009 Greenbone Networks GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2,
- * or, at your option, any later version as published by the Free
- * Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../manage.h"
-
-int
-main ()
-{
- gchar* name = report_path_task_uuid ("01-abc-02001020/reports/report-id/");
- int ret = strcmp (name, "01-abc-02001020");
- g_free (name);
- if (ret) return EXIT_FAILURE;
- return EXIT_SUCCESS;
-}
More information about the Openvas-commits
mailing list