1 | #!/bin/bash |
---|
2 | |
---|
3 | source testlib || exit 1 |
---|
4 | |
---|
5 | DESCRIPTION1="Ssh beschikbaar?" |
---|
6 | VERIFYEXIT=0 |
---|
7 | sshtest || exit 1 |
---|
8 | |
---|
9 | DESCRIPTION1="Sla test over indien we niet de juiste licentieoptie hebben." |
---|
10 | CMD="cat /etc/webint/REG" |
---|
11 | VERIFYPOSITIVE='"M"' |
---|
12 | if ! sshtest; then |
---|
13 | echo "Dit is geen mailserver, test overgeslagen" |
---|
14 | exit 0 |
---|
15 | fi |
---|
16 | |
---|
17 | |
---|
18 | DESCRIPTION1="portal heeft Zarafa" |
---|
19 | URL="http://$IP/syn3/webportal/" |
---|
20 | VERIFYPOSITIVE="../zarafa.>" |
---|
21 | web_add |
---|
22 | |
---|
23 | #bestaat niet meer in nieuwe zarafas |
---|
24 | #DESCRIPTION1="portal heeft Zarafa mobile" |
---|
25 | #URL="http://$IP/syn3/webportal/" |
---|
26 | #VERIFYPOSITIVE="../zarafa-mobile.>" |
---|
27 | #web_add |
---|
28 | |
---|
29 | DESCRIPTION1="portal heeft Zarafa webapp" |
---|
30 | URL="http://$IP/syn3/webportal/" |
---|
31 | VERIFYPOSITIVE="../zarafa_webapp.>" |
---|
32 | web_add |
---|
33 | |
---|
34 | DESCRIPTION1="portal heeft Z-push" |
---|
35 | URL="http://$IP/syn3/webportal/" |
---|
36 | VERIFYPOSITIVE="../z-push.>" |
---|
37 | web_add |
---|
38 | |
---|
39 | |
---|
40 | web_test || exit 1 |
---|
41 | |
---|
42 | ./_maketestusers || exit 1 |
---|
43 | |
---|
44 | DESCRIPTION1="Zpush test" |
---|
45 | URL="http://testuser1:syn3@$IP/Microsoft-Server-ActiveSync" |
---|
46 | VERIFYPOSITIVE="This is the Z-Push location" |
---|
47 | VERIFYRESPONSECODE=200 |
---|
48 | web_add |
---|
49 | web_test || exit 1 |
---|
50 | |
---|
51 | |
---|
52 | DESCRIPTION1="webaccess login (nederlands)" |
---|
53 | URL="https://$IP/syn3/zarafa/index.php?logon" |
---|
54 | METHOD="post" |
---|
55 | POSTBODY="username=testuser2&password=syn3&language=nl_NL.utf-8" |
---|
56 | web_add |
---|
57 | |
---|
58 | |
---|
59 | DESCRIPTION1="hoofdscherm opvragen " |
---|
60 | URL="https://$IP/syn3/zarafa/index.php" |
---|
61 | VERIFYPOSITIVE="testuser2" |
---|
62 | web_add |
---|
63 | |
---|
64 | DESCRIPTION1="taal nederlands? als alleen engels werkt komt dit door het niet compilen van language files." |
---|
65 | URL="https://$IP/syn3/zarafa/index.php?load=translations.js&lang=nl_NL.utf-8" |
---|
66 | VERIFYPOSITIVE="geaccepteerd" |
---|
67 | VERIFYPOSITIVE2="deelnemer" |
---|
68 | web_add |
---|
69 | |
---|
70 | # taken/afspraken/mailen via xml/rpc zooi is eerst te veel werk, door de vele id's die nodig zijn. |
---|
71 | # zarafa-gateway en spooler worden door mail-tests al getest. |
---|
72 | # zarafa-licensed, zarafa-ical en monitor worden nog NIET getest. |
---|
73 | |
---|
74 | |
---|
75 | web_test || exit 1 |
---|
76 | |
---|