| #!/bin/sh |
| |
| |
| t_Log "Running $0 - mailman test." |
| |
| |
| /usr/lib/mailman/bin/newlist -q mailman root@localhost.localdomain password > /dev/null 2>&1 |
| |
| |
| t_ServiceControl httpd restart |
| t_ServiceControl mailman start |
| |
| curl -s http://localhost/mailman/listinfo | grep -q 'localhost Mailing Lists' |
| t_CheckExitStatus $? |
| |
| t_ServiceControl httpd stop |
| t_ServiceControl mailman stop |