#!/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='"I"' if ! sshtest; then echo "Dit is geen internetserver, test overgeslagen" exit 0 fi ################################# #TODO: test opnieuw maken ivm nieuwe dhcp functionaliteit in webinterface! #DESCRIPTION1="Standaard instellingen ok? Configuratie moet kloppen en dhcpd moet uitgeschakeld zijn" #PAGE="dhcp/editdhcpd.php" #METHOD="post" #POSTBODY="save=1" #IGNOREERROR=1 #VERIFYPOSITIVE="DHCP server kan niet opnieuw gestart worden" #scc_add #DESCRIPTION1="Illegale range invullen en error verwachten." #PAGE="dhcp/editdhcpd.php" #METHOD="post" #POSTBODY="new_subnet=10.0.0.0&save=1" #IGNOREERROR=1 #VERIFYPOSITIVE="not on net" #VERIFYNEGATIVE="DHCP server kan niet opnieuw gestart worden" #scc_add DESCRIPTION1="Basic pagina check" PAGE="dhcp/listleases.php" scc_add scc_test || exit 1