ubuntu-bugcontrol team mailing list archive
-
ubuntu-bugcontrol team
-
Mailing list archive
-
Message #02539
[Merge] lp:~hggdh2/qa-regression-testing/qrt-checkbox into lp:qa-regression-testing
C de-Avillez has proposed merging lp:~hggdh2/qa-regression-testing/qrt-checkbox into lp:qa-regression-testing.
Requested reviews:
Ubuntu Bug Control (ubuntu-bugcontrol)
Adds 5 wrappers for test-apache2.py:
* test-apache2-mpm-event.py
* test-apache2-mpm-itk.py
* test-apache2-mpm-perchild.py
* test-apache2-mpm-prefork.py
* test-apache2-mpm-worker.py
These wrappers are to be used by the Checkbox QRT integration and just set the correct QRT-Depends for each of the MPM modules.
--
https://code.launchpad.net/~hggdh2/qa-regression-testing/qrt-checkbox/+merge/34318
Your team Ubuntu Bug Control is requested to review the proposed merge of lp:~hggdh2/qa-regression-testing/qrt-checkbox into lp:qa-regression-testing.
=== added file 'scripts/test-apache2-mpm-event.py'
--- scripts/test-apache2-mpm-event.py 1970-01-01 00:00:00 +0000
+++ scripts/test-apache2-mpm-event.py 2010-09-01 17:32:45 +0000
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+#
+# test-apache2-mpm-event.py quality assurance test script
+# script wrapper for usage under Checkbox
+# Copyright (C) 2010 Canonical Ltd.
+# Author: C de-Avillez <carlos.de.avillez@xxxxxxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# 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, see <http://www.gnu.org/licenses/>.
+#
+
+'''
+ *** IMPORTANT ***
+ DO NOT RUN ON A PRODUCTION SERVER.
+ *** IMPORTANT ***
+
+ How to run:
+ $ sudo apt-get remove --purge apache2-*
+ $ sudo apt-get install apache2-mpm-event
+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
+'''
+
+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
+# QRT-Packages: apache2-mpm-event libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
+# QRT-Privilege: root
+
+import subprocess
+import sys
+
+if __name__ == '__main__':
+ print 'apache-mpm-event regression tests'
+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
+ prc = subprocess.Popen([ 'python', './test-apache2.py'],
+ stdout=sys.stdout,
+ stderr=subprocess.STDOUT)
+ prc.wait()
+ sys.exit(prc.returncode)
=== added file 'scripts/test-apache2-mpm-itk.py'
--- scripts/test-apache2-mpm-itk.py 1970-01-01 00:00:00 +0000
+++ scripts/test-apache2-mpm-itk.py 2010-09-01 17:32:45 +0000
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+#
+# test-apache2-mpm-itk.py quality assurance test script
+# script wrapper for usage under Checkbox
+# Copyright (C) 2010 Canonical Ltd.
+# Author: C de-Avillez <carlos.de.avillez@xxxxxxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# 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, see <http://www.gnu.org/licenses/>.
+#
+
+'''
+ *** IMPORTANT ***
+ DO NOT RUN ON A PRODUCTION SERVER.
+ *** IMPORTANT ***
+
+ How to run:
+ $ sudo apt-get remove --purge apache2-*
+ $ sudo apt-get install apache2-mpm-itk
+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
+'''
+
+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
+# QRT-Packages: apache2-mpm-itk libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
+# QRT-Privilege: root
+
+import subprocess
+import sys
+
+if __name__ == '__main__':
+ print 'apache-mpm-itk regression tests'
+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
+ stdout=sys.stdout,
+ stderr=subprocess.STDOUT)
+ prc.wait()
+ sys.exit(prc.returncode)
=== added file 'scripts/test-apache2-mpm-perchild.py'
--- scripts/test-apache2-mpm-perchild.py 1970-01-01 00:00:00 +0000
+++ scripts/test-apache2-mpm-perchild.py 2010-09-01 17:32:45 +0000
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+#
+# test-apache2-mpm-perchild.py quality assurance test script
+# script wrapper for usage under Checkbox
+# Copyright (C) 2010 Canonical Ltd.
+# Author: C de-Avillez <carlos.de.avillez@xxxxxxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# 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, see <http://www.gnu.org/licenses/>.
+#
+
+'''
+ *** IMPORTANT ***
+ DO NOT RUN ON A PRODUCTION SERVER.
+ *** IMPORTANT ***
+
+ How to run:
+ $ sudo apt-get remove --purge apache2-*
+ $ sudo apt-get install apache2-mpm-perchild
+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
+'''
+
+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
+# QRT-Packages: apache2-mpm-worker libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
+# QRT-Privilege: root
+
+import subprocess
+import sys
+
+if __name__ == '__main__':
+ print 'apache-mpm-perchild regression tests'
+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
+ stdout=sys.stdout,
+ stderr=subprocess.STDOUT)
+ prc.wait()
+ sys.exit(prc.returncode)
=== added file 'scripts/test-apache2-mpm-prefork.py'
--- scripts/test-apache2-mpm-prefork.py 1970-01-01 00:00:00 +0000
+++ scripts/test-apache2-mpm-prefork.py 2010-09-01 17:32:45 +0000
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+#
+# test-apache2-mpm-prefork.py quality assurance test script
+# script wrapper for usage under Checkbox
+# Copyright (C) 2010 Canonical Ltd.
+# Author: C de-Avillez <carlos.de.avillez@xxxxxxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# 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, see <http://www.gnu.org/licenses/>.
+#
+
+'''
+ *** IMPORTANT ***
+ DO NOT RUN ON A PRODUCTION SERVER.
+ *** IMPORTANT ***
+
+ How to run:
+ $ sudo apt-get remove --purge apache2-*
+ $ sudo apt-get install apache2-mpm-prefork
+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
+'''
+
+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
+# QRT-Packages: apache2-mpm-prefork libapache2-svn subversion elinks ssl-cert openssl lsb-release libapache2-mod-php5 davfs2 python-pexpect
+# QRT-Privilege: root
+
+import subprocess
+import sys
+
+if __name__ == '__main__':
+ print 'apache-mpm-prefork regression tests'
+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
+ stdout=sys.stdout,
+ stderr=subprocess.STDOUT)
+ prc.wait()
+ sys.exit(prc.returncode)
=== added file 'scripts/test-apache2-mpm-worker.py'
--- scripts/test-apache2-mpm-worker.py 1970-01-01 00:00:00 +0000
+++ scripts/test-apache2-mpm-worker.py 2010-09-01 17:32:45 +0000
@@ -0,0 +1,47 @@
+#!/usr/bin/python
+#
+# test-apache2-mpm-worker.py quality assurance test script
+# script wrapper for usage under Checkbox
+# Copyright (C) 2010 Canonical Ltd.
+# Author: C de-Avillez <carlos.de.avillez@xxxxxxxxxxxxx>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2,
+# 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, see <http://www.gnu.org/licenses/>.
+#
+
+'''
+ *** IMPORTANT ***
+ DO NOT RUN ON A PRODUCTION SERVER.
+ *** IMPORTANT ***
+
+ How to run:
+ $ sudo apt-get remove --purge apache2-*
+ $ sudo apt-get install apache2-mpm-worker
+ $ sudo apt-get -y install python-unit elinks ssl-cert openssl lsb-release libapache2-svn subversion davfs2 sudo python-pexpect
+'''
+
+# QRT-Depends: testlib_httpd.py testlib_ssl.py test-apache2.py
+# QRT-Packages: apache2-mpm-worker libapache2-svn subversion elinks ssl-cert openssl lsb-release davfs2 python-pexpect
+# QRT-Privilege: root
+
+import subprocess
+import sys
+
+if __name__ == '__main__':
+ print 'apache-mpm-worker regression tests'
+ # bypass for bug 627142 -- apache2 init script hangs on 'stty sane'
+ subprocess.call(['sed', '-i', 's/^stty sane/#&/', '/etc/init.d/apache2'])
+ prc = subprocess.Popen([ 'python', 'test-apache2.py'],
+ stdout=sys.stdout,
+ stderr=subprocess.STDOUT)
+ prc.wait()
+ sys.exit(prc.returncode)