perl-5.22
|
Last change
on this file since 2fffcc8 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | source testlib || exit 1 |
|---|
| 4 | |
|---|
| 5 | DESCRIPTION1="Wachten totdat alle services gestart zijn" |
|---|
| 6 | pausetest 90 |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | DESCRIPTION1="Kijk of er restartende (niet werkende) services zijn" |
|---|
| 10 | CMD=' |
|---|
| 11 | STATUS=`svstat /service/* /service/*/log|grep -o "pid [0-9]*"|md5sum` |
|---|
| 12 | sleep 30 |
|---|
| 13 | STATUS2=`svstat /service/* /service/*/log|grep -o "pid [0-9]*"|md5sum` |
|---|
| 14 | [ "$STATUS" != "$STATUS2" ] && exit 1 |
|---|
| 15 | ' |
|---|
| 16 | VERIFYEXIT=0 |
|---|
| 17 | sshtest || exit 1 |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | DESCRIPTION1="Raid check" |
|---|
| 22 | PAGE="raid/listdisks.php" |
|---|
| 23 | VERIFYPOSITIVE="(Online|does not appear to be active.)" |
|---|
| 24 | IGNOREERROR=1 |
|---|
| 25 | scc_add |
|---|
| 26 | |
|---|
| 27 | DESCRIPTION1="Services die niet correct opstarten (slechts seconden up.)" |
|---|
| 28 | PAGE="/services/listservices.php" |
|---|
| 29 | VERIFYNEGATIVE="seconde" |
|---|
| 30 | scc_add |
|---|
| 31 | |
|---|
| 32 | DESCRIPTION1="Redundancy status" |
|---|
| 33 | PAGE="/drbd/showstatus.php" |
|---|
| 34 | VERIFYPOSITIVE="Wijzig redundancy instellingen" |
|---|
| 35 | scc_add |
|---|
| 36 | |
|---|
| 37 | DESCRIPTION1="Redundancy edit page" |
|---|
| 38 | PAGE="/drbd/edit.php" |
|---|
| 39 | VERIFYPOSITIVE="Opslaan" |
|---|
| 40 | IGNOREERROR=1 |
|---|
| 41 | scc_add |
|---|
| 42 | |
|---|
| 43 | DESCRIPTION1="LDAP wachtwoord zetten (duurt lang ivm service restarts)" |
|---|
| 44 | PAGE="settings/ldap.php" |
|---|
| 45 | METHOD="post" |
|---|
| 46 | POSTBODY="new_ldap_mode=master&new_ldap_master_passwd=syn3&save=1" |
|---|
| 47 | VERIFYPOSITIVE="LDAP instellingen worden veranderd" |
|---|
| 48 | IGNOREERROR=1 |
|---|
| 49 | scc_add |
|---|
| 50 | |
|---|
| 51 | scc_test || exit 1 |
|---|
| 52 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.