#!/bin/bash source testlib || exit 1 DESCRIPTION1="Ssh beschikbaar?" VERIFYEXIT=0 sshtest || exit 1 DESCRIPTION1="Sla test over indien we niet de juiste licentieoptie hebben." CMD="cat /etc/webint/REG" VERIFYPOSITIVE='"M"' if ! sshtest; then echo "Dit is geen mailserver, test overgeslagen" exit 0 fi DESCRIPTION1="portal heeft Zarafa" URL="http://$IP/syn3/webportal/" VERIFYPOSITIVE="../zarafa.>" web_add #bestaat niet meer in nieuwe zarafas #DESCRIPTION1="portal heeft Zarafa mobile" #URL="http://$IP/syn3/webportal/" #VERIFYPOSITIVE="../zarafa-mobile.>" #web_add DESCRIPTION1="portal heeft Zarafa webapp" URL="http://$IP/syn3/webportal/" VERIFYPOSITIVE="../zarafa_webapp.>" web_add DESCRIPTION1="portal heeft Z-push" URL="http://$IP/syn3/webportal/" VERIFYPOSITIVE="../z-push.>" web_add web_test || exit 1 ./_maketestusers || exit 1 DESCRIPTION1="Zpush test" URL="http://testuser1:syn3@$IP/Microsoft-Server-ActiveSync" VERIFYPOSITIVE="This is the Z-Push location" VERIFYRESPONSECODE=200 web_add web_test || exit 1 DESCRIPTION1="webaccess login (nederlands)" URL="https://$IP/syn3/zarafa/index.php?logon" METHOD="post" POSTBODY="username=testuser2&password=syn3&language=nl_NL.utf-8" web_add DESCRIPTION1="hoofdscherm opvragen " URL="https://$IP/syn3/zarafa/index.php" VERIFYPOSITIVE="testuser2" web_add DESCRIPTION1="taal nederlands? als alleen engels werkt komt dit door het niet compilen van language files." URL="https://$IP/syn3/zarafa/index.php?load=translations.js&lang=nl_NL.utf-8" VERIFYPOSITIVE="geaccepteerd" VERIFYPOSITIVE2="deelnemer" web_add # taken/afspraken/mailen via xml/rpc zooi is eerst te veel werk, door de vele id's die nodig zijn. # zarafa-gateway en spooler worden door mail-tests al getest. # zarafa-licensed, zarafa-ical en monitor worden nog NIET getest. web_test || exit 1