From d7363c1a5b05493947292ac800899376a6cd7166 Mon Sep 17 00:00:00 2001
From: maudj <maudj@localhost>
Date: Tue, 11 Mar 2008 07:33:05 +0000
Subject: [PATCH] changes to the basic sanity tests - maudj

---
 opends/tests/functional_manual/setup/quicksetup.html    |   16 ++-
 /dev/null                                               |   80 ----------------
 opends/tests/functional_manual/setup/upgrade_cli.html   |   18 ++-
 opends/tests/functional_manual/setup/setup_cli.html     |   45 +++++---
 opends/tests/functional_manual/setup/setup_gui_ssl.html |   47 ++++++---
 opends/tests/functional_manual/setup/upgrade_gui.html   |   36 +-----
 6 files changed, 84 insertions(+), 158 deletions(-)

diff --git a/opends/tests/functional_manual/setup/quicksetup.html b/opends/tests/functional_manual/setup/quicksetup.html
index e604c10..881156b 100755
--- a/opends/tests/functional_manual/setup/quicksetup.html
+++ b/opends/tests/functional_manual/setup/quicksetup.html
@@ -1,4 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
 <!--
  ! CDDL HEADER START
  !
@@ -24,8 +26,6 @@
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
  ! -->
-<html>
-<head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>quicksetup</title>
@@ -51,12 +51,18 @@
       <td style="vertical-align: top;">- Click on the
 install/QuickSetup.jnlp link on the Build page<br>
 - install OpenDS using the same procedure than in the <a
- href="setup_gui.html">setup_gui</a> testcase </td>
+ href="setup_gui_ssl.html">setup_gui_ssl</a> testcase (GUI with
+security enabled, <br>
+status panel, Uninstall) </td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Specific checks</td>
-      <td style="vertical-align: top;">- verify status-panel as well<br>
-      </td>
+      <td style="vertical-align: top;"> - Check the server is running<br>
+Check the Base DN has been created<br>
+      <br>
+- Check status-panel data are valid<br>
+      <br>
+- Check uninstall is successfull </td>
     </tr>
   </tbody>
 </table>
diff --git a/opends/tests/functional_manual/setup/quicksetup_ssl.html b/opends/tests/functional_manual/setup/quicksetup_ssl.html
deleted file mode 100755
index 75d547c..0000000
--- a/opends/tests/functional_manual/setup/quicksetup_ssl.html
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- ! CDDL HEADER START
- !
- ! The contents of this file are subject to the terms of the
- ! Common Development and Distribution License, Version 1.0 only
- ! (the "License").  You may not use this file except in compliance
- ! with the License.
- !
- ! You can obtain a copy of the license at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
- ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
- ! See the License for the specific language governing permissions
- ! and limitations under the License.
- !
- ! When distributing Covered Code, include this CDDL HEADER in each
- ! file and include the License file at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
- ! add the following below this CDDL HEADER, with the fields enclosed
- ! by brackets "[]" replaced with your own identifying information:
- !      Portions Copyright [yyyy] [name of copyright owner]
- !
- ! CDDL HEADER END
- !
- !      Copyright 2007-2008 Sun Microsystems, Inc.
- ! -->
-<html>
-<head>
-  <meta content="text/html; charset=ISO-8859-1"
- http-equiv="content-type">
-  <title>quicksetup_ssl</title>
-</head>
-<body>
-<br>
-<table style="width: 100%; text-align: left;" border="1" cellpadding="2"
- cellspacing="2">
-  <tbody>
-    <tr>
-      <td style="vertical-align: top;">Test ID</td>
-      <td style="vertical-align: top;">quicksetup_ssl<br>
-      </td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Panel<br>
-      </td>
-      <td style="vertical-align: top;"><big><big><small> </small></big></big>OpenDS
-QuickSetup Installer, SSL panel<br>
-      </td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Items<br>
-      </td>
-      <td style="vertical-align: top;"> - Click on the
-install/QuickSetup.jnlp link on the Build page <br>
-      <a href="http://www.opends.org/install/QuickSetup.jnlp">http://www.opends.org/install/QuickSetup.jnlp</a><br>
-- install OpenDS using the same procedure than in the <a
- href="setup_ssl.html">setup_ssl</a> testcase<br>
-      <br>
-      <small><big>- verify SSL
-connection</big><br>
-./ldapsearch -Z -p SSLPORT -D "cn=directory manager" -w password -b
-"cn=config" -v "(objectclass=*)"</small></td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Specific checks</td>
-      <td style="vertical-align: top;">- verify that LDAPS is enabled
-in
-the status-panel </td>
-    </tr>
-  </tbody>
-</table>
-<br>
-<br>
-<br>
-</body>
-</html>
diff --git a/opends/tests/functional_manual/setup/setup_cli.html b/opends/tests/functional_manual/setup/setup_cli.html
index abd419c..69a7e6f 100755
--- a/opends/tests/functional_manual/setup/setup_cli.html
+++ b/opends/tests/functional_manual/setup/setup_cli.html
@@ -1,4 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
 <!--
  ! CDDL HEADER START
  !
@@ -24,8 +26,6 @@
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
  ! -->
-<html>
-<head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>setup_cli</title>
@@ -42,33 +42,40 @@
     <tr>
       <td style="vertical-align: top;">Panel<br>
       </td>
-      <td style="vertical-align: top;">OpenDS CLI setup command: test install and uninstall<br>
+      <td style="vertical-align: top;">OpenDS CLI setup command: test
+install and uninstall<br>
       </td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Items<br>
       </td>
-      <td style="vertical-align: top;">- run setup command to install in CLI<br>
-	enter expected data at each prompt (cn=Directory Manager, password, LDAP port, default base DN)<br>
-	Choose option 4 to populate de database Load automatically-generated sample data, with 200 entries<br>
-	no SSL<br>
-	no Start TLS<br>
-	start the server when the configuration is completed<br>
-	<br>
-	- open status in CLI <br>
-	<br>
-	- run setup command to uninstall in CLI and in interactive mode (-r and -a options are broken, see issue 2506 and 2508)<br>
+      <td style="vertical-align: top;">- run setup command to install
+in CLI<br>
+- enter expected data at each prompt (cn=Directory Manager, password,
+LDAP port, default base DN)<br>
+- Choose option 4 to populate de database Load automatically-generated
+sample data, with 200 entries<br>
+- no SSL<br>
+- no Start TLS<br>
+- start the server when the configuration is completed<br>
+      <br>
+- run status in CLI <br>
+      <br>
+- start and stop the server (start-ds and stop-ds)<br>
+      <br>
+- run uninstall command in CLI and interactive mode<br>
+      <br>
       </td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Specific checks</td>
       <td style="vertical-align: top;">-Check the install is successfull<br>
-	Check the server is running<br>
-	Check the Base DN has been created<br>
-	<br>
-	- Check status data are valid<br>
-	<br>
-	- Check uninstall is successfull<br>
+Check the server is running<br>
+Check the Base DN has been created<br>
+      <br>
+- Check status data are valid<br>
+      <br>
+- Check uninstall is successfull<br>
       </td>
     </tr>
   </tbody>
diff --git a/opends/tests/functional_manual/setup/setup_gui.html b/opends/tests/functional_manual/setup/setup_gui.html
deleted file mode 100755
index ae1a99f..0000000
--- a/opends/tests/functional_manual/setup/setup_gui.html
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- ! CDDL HEADER START
- !
- ! The contents of this file are subject to the terms of the
- ! Common Development and Distribution License, Version 1.0 only
- ! (the "License").  You may not use this file except in compliance
- ! with the License.
- !
- ! You can obtain a copy of the license at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
- ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
- ! See the License for the specific language governing permissions
- ! and limitations under the License.
- !
- ! When distributing Covered Code, include this CDDL HEADER in each
- ! file and include the License file at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
- ! add the following below this CDDL HEADER, with the fields enclosed
- ! by brackets "[]" replaced with your own identifying information:
- !      Portions Copyright [yyyy] [name of copyright owner]
- !
- ! CDDL HEADER END
- !
- !      Copyright 2007-2008 Sun Microsystems, Inc.
- ! -->
-<html>
-<head>
-  <meta content="text/html; charset=ISO-8859-1"
- http-equiv="content-type">
-  <title>setup_gui</title>
-</head>
-<body>
-<br>
-<table style="width: 100%; text-align: left;" border="1" cellpadding="2"
- cellspacing="2">
-  <tbody>
-    <tr>
-      <td style="vertical-align: top;">Test ID</td>
-      <td style="vertical-align: top;">setup_gui</td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Panel<br>
-      </td>
-      <td style="vertical-align: top;">OpenDS GUI setup command: test install and uninstall<br>
-      </td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Items<br>
-      </td>
-      <td style="vertical-align: top;">- run setup command to install in GUI<br>
-	enter expected data in the GUI Panels (cn=Directory Manager, password, LDAP port, default base DN)<br>
-	Choose option 4 to populate de database Load automatically-generated sample data, with 200 entries<br>
-        no SSL<br>
-        no Start TLS<br>
-        start the server when the configuration is completed<br>
-	<br>
-        - open status-panel in GUI <br>
-        <br>
-        - run setup command to uninstall in GUI<br>
-      </td>
-    </tr>
-    <tr>
-      <td style="vertical-align: top;">Specific checks</td>
-      <td style="vertical-align: top;">-Check the install is successfull<br>
-        Check the server is running<br>
-        Check the Base DN has been created<br>
-        <br>
-        - Check status-panel data are valid<br>
-        <br>
-        - Check uninstall is successfull<br>
-      </td>
-    </tr>
-  </tbody>
-</table>
-<br>
-<br>
-<br>
-</body>
-</html>
diff --git a/opends/tests/functional_manual/setup/setup_ssl.html b/opends/tests/functional_manual/setup/setup_gui_ssl.html
old mode 100755
new mode 100644
similarity index 64%
rename from opends/tests/functional_manual/setup/setup_ssl.html
rename to opends/tests/functional_manual/setup/setup_gui_ssl.html
index f254f7a..17763e2
--- a/opends/tests/functional_manual/setup/setup_ssl.html
+++ b/opends/tests/functional_manual/setup/setup_gui_ssl.html
@@ -1,4 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
 <!--
  ! CDDL HEADER START
  !
@@ -24,11 +26,9 @@
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
  ! -->
-<html>
-<head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
-  <title>setup_ssl</title>
+  <title>setup_gui_ssl</title>
 </head>
 <body>
 <br>
@@ -37,14 +37,13 @@
   <tbody>
     <tr>
       <td style="vertical-align: top;">Test ID</td>
-      <td style="vertical-align: top;">setup_ssl<br>
-      </td>
+      <td style="vertical-align: top;">setup_gui_ssl</td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Panel<br>
       </td>
-      <td style="vertical-align: top;"><big><big><small> </small></big></big>
-OpenDS GUI setup, SSL panel<br>
+      <td style="vertical-align: top;">OpenDS GUI setup command: test
+install , ssl panel, status -panel and uninstall<br>
       </td>
     </tr>
     <tr>
@@ -52,29 +51,43 @@
       </td>
       <td style="vertical-align: top;"> - run setup command to install
 in GUI<br>
-In the Server Settings Panel , enter expected data for hostname, LDAP
+- In the Server Settings Panel , enter expected data for hostname, LDAP
 PORT<br>
-Then for LDAP Secure Access click on Configure<br>
-In the Configure Secure Access Panel, tick the Box Enable SSL and enter
+- Then for LDAP Secure Access click on Configure<br>
+- In the Configure Secure Access Panel, tick the Box Enable SSL and
+enter
 a valid Port SSLPORT , then click OK<br>
-Then continue to enter data in the Server Settings Panel for
+- Then continue to enter data in the Server Settings Panel for
 cn=Directory Manager and its password.<br>
-Click Next<br>
-Leave default value in Topology Options Panel and click Next<br>
-Leave default value in Directory Data Panel and click Next<br>
+- Click Next<br>
+- Leave default value in Topology Options Panel and click Next<br>
+- In the Directory Data Panel Choose option 4 To Import
+automatically-generated sample data, with 200 entries<br>
 Click Finish<br>
       <br>
 - open status-panel in GUI <br>
       <br>
+- stop and start the server in the status-panel<br>
+      <br>
       <small><big>- verify SSL
 connection</big><br>
 ./ldapsearch -Z -p SSLPORT -D "cn=directory manager" -w password -b
-"cn=config" -v "(objectclass=*)"</small></td>
+"cn=config" -v "(objectclass=*)"</small> <br>
+      <br>
+- run setup command to uninstall in GUI<br>
+      </td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Specific checks</td>
-      <td style="vertical-align: top;">- verify that LDAPS is enabled in
-the status-panel </td>
+      <td style="vertical-align: top;">- Check the install is
+successfull<br>
+Check the server is running<br>
+Check the Base DN has been created<br>
+      <br>
+- Check status-panel data are valid<br>
+      <br>
+- Check uninstall is successfull<br>
+      </td>
     </tr>
   </tbody>
 </table>
diff --git a/opends/tests/functional_manual/setup/upgrade_cli.html b/opends/tests/functional_manual/setup/upgrade_cli.html
index 86be65b..9e3f116 100755
--- a/opends/tests/functional_manual/setup/upgrade_cli.html
+++ b/opends/tests/functional_manual/setup/upgrade_cli.html
@@ -1,4 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
 <!--
  ! CDDL HEADER START
  !
@@ -24,8 +26,6 @@
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
  ! -->
-<html>
-<head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
   <title>upgrage_cli</title>
@@ -42,20 +42,21 @@
     <tr>
       <td style="vertical-align: top;">Panel<br>
       </td>
-      <td style="vertical-align: top;"><big><big><small> </small></big></big>
-OpenDS CLI upgrade command : upgrade and revert<br>
+      <td style="vertical-align: top;"><big><big><small> </small></big></big>OpenDS
+CLI upgrade command : upgrade and revert<br>
       </td>
     </tr>
     <tr>
       <td style="vertical-align: top;">Items<br>
       </td>
       <td style="vertical-align: top;">- Install&nbsp; OpenDS previous
-build in {opends-path}, using&nbsp; setup CLI command <br>
+build in {opends-path}, using&nbsp; setup CLI command
+(http://www.opends.org/promoted-builds/)<br>
 - Verify the server is running <br>
 - In the {opends-path}, run the command upgrade<br>
 $ ./upgrade -f {path to latest build zip file}<br>
 - After the upgrade, verify that the server is running and that it's
-the correct build&nbsp; (for example run start-ds --version)<br>
+the correct build number (for example run start-ds --version)<br>
       <br>
 Then revert the upgrade using upgrade CLI command<br>
 - In the {opends-path}, run the command upgrade<br>
@@ -69,8 +70,9 @@
       <td style="vertical-align: top;">Specific checks</td>
       <td style="vertical-align: top;">You can also use the interactive
 mode<br>
-Note: Today 29/11/2007 , for revert feature, interactive mode is OK but
-the non interactive mode FAIL (see issues 2506 and 2508) </td>
+Note: as of January 2008 , for revert feature, interactive mode is OK
+and
+the non interactive mode as well (issues 2506 and 2508 FIXED) </td>
     </tr>
   </tbody>
 </table>
diff --git a/opends/tests/functional_manual/setup/upgrade_gui.html b/opends/tests/functional_manual/setup/upgrade_gui.html
index 824fe56..5473b6a 100755
--- a/opends/tests/functional_manual/setup/upgrade_gui.html
+++ b/opends/tests/functional_manual/setup/upgrade_gui.html
@@ -1,34 +1,9 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- ! CDDL HEADER START
- !
- ! The contents of this file are subject to the terms of the
- ! Common Development and Distribution License, Version 1.0 only
- ! (the "License").  You may not use this file except in compliance
- ! with the License.
- !
- ! You can obtain a copy of the license at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
- ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
- ! See the License for the specific language governing permissions
- ! and limitations under the License.
- !
- ! When distributing Covered Code, include this CDDL HEADER in each
- ! file and include the License file at
- ! trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
- ! add the following below this CDDL HEADER, with the fields enclosed
- ! by brackets "[]" replaced with your own identifying information:
- !      Portions Copyright [yyyy] [name of copyright owner]
- !
- ! CDDL HEADER END
- !
- !      Copyright 2007-2008 Sun Microsystems, Inc.
- ! -->
 <html>
 <head>
   <meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type">
-  <title>upgrage_gui</title>
+  <title>upgrade_gui</title>
 </head>
 <body>
 <br>
@@ -50,17 +25,20 @@
       <td style="vertical-align: top;">Items<br>
       </td>
       <td style="vertical-align: top;">- Install&nbsp; OpenDS previous
-build in {opends-path}, using&nbsp; setup GUI command or QuickSetup<br>
+build in {opends-path}, using&nbsp; setup GUI command or QuickSetup
+(http://www.opends.org/promoted-builds/)<br>
 - Verify the server is running <br>
 - Upgrade using the QuickSetup, open a browser on the test machine and
 go to this URL<br>
-      <a href="http://www.opends.org/install/QuickSetup.jnlp">http://www.opends.org/install/QuickSetup.jnlp</a><br>
+      <a href="http://builds.opends.org/install/QuickSetup.jnlp">http://builds.opends.org/install/QuickSetup.jnlp</a><br>
 On the first panel of the QuickSetup, select the second bullet "Upgrade
 Existing Server Instance" <br>
 and enter the path of the Server to Upgrade {opends-path}<br>
 - After the upgrade, verify that the server is running and that it's
 the correct build&nbsp; (for example run start-ds --version)<br>
       <br>
+- test the revert with the GUI (when it will be available)<br>
+      <br>
       </td>
     </tr>
     <tr>
@@ -68,7 +46,7 @@
       <td style="vertical-align: top;">Notes:<br>
 - QuickSetup is the only way to
 upgrade using GUI mode<br>
-- There is no GUI mode available for the&nbsp; revert the upgrade<br>
+- There is no GUI mode available for the revert the upgrade<br>
       </td>
     </tr>
   </tbody>

--
Gitblit v1.10.0