Index: openacs-4/packages/acs-automated-testing/www/doc/usage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-automated-testing/www/doc/usage.adp,v diff -u -N -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-automated-testing/www/doc/usage.adp 16 Jul 2016 17:32:12 -0000 1.2.2.4 +++ openacs-4/packages/acs-automated-testing/www/doc/usage.adp 6 Aug 2017 11:31:20 -0000 1.2.2.5 @@ -1,5 +1,5 @@ -{/doc/acs-automated-testing {Automated Testing}} {Usage} +{/doc/acs-automated-testing {ACS Automated Testing}} {Usage} Usage

The master server shows the status of all other servers. For test.openacs.org, it listens on port 80.

    -
  1. The acs-automated-testing parameter IsInstallReportServer is set to 1

  2. The acs-automated-testing parameter XMLReportDir is set to /var/log/openacs-install. This is arbitrary - +

  3. The acs-automated-testing parameter IsInstallReportServer is set to 1

  4. The acs-automated-testing parameter XMLReportDir is set to /var/log/openacs-install. This is arbitrary - it just needs to be somewhere all the servers can write to.

  • @@ -32,10 +32,10 @@
  • Get the results of the automated tests dumped where the master server can see them - in this example, the same directory as above, -/var/log/openacs-install, by adding +/var/log/openacs-install, by adding this to install.tcl (requires 5.1):

               set install_xml_file          "/var/lib/aolserver/service0/packages/acs-core-docs/www/files/install-autotest.xml"
    -

    This will copy in the file install-autotest.xml:

    +

    This will copy in the file install-autotest.xml:

     <?xml version="1.0"?>
     
     <!-- This is an install.xml which can be used to configure servers for reporting their automated test results.  Requires acs-automated-testing 5.1.0b2 or better -->
    @@ -68,9 +68,9 @@
     esac
     
     sudo /home/$1/install/install.sh 2>&1
    -

    and allow the master user to +

    and allow the master user to execute this file as root (this is a limitation of the automatic -install script, which must be root). In /etc/sudoers, include a line:

    +install script, which must be root). In /etc/sudoers, include a line:

     master ALL = NOPASSWD: /usr/local/bin/rebuild-server.sh