source: tests/00410_dhcp @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 1.0 KB
Line 
1#!/bin/bash
2
3
4source testlib || exit 1
5
6DESCRIPTION1="Ssh beschikbaar?"
7VERIFYEXIT=0
8sshtest || exit 1
9
10DESCRIPTION1="Sla test over indien we niet de juiste licentieoptie hebben."
11CMD="cat /etc/webint/REG"
12VERIFYPOSITIVE='"I"'
13if ! sshtest; then
14        echo "Dit is geen internetserver, test overgeslagen"
15        exit 0
16fi
17
18#################################
19
20#TODO: test opnieuw maken ivm nieuwe dhcp functionaliteit in webinterface!
21
22#DESCRIPTION1="Standaard instellingen ok? Configuratie moet kloppen en dhcpd moet uitgeschakeld zijn"
23#PAGE="dhcp/editdhcpd.php"
24#METHOD="post"
25#POSTBODY="save=1"
26#IGNOREERROR=1
27#VERIFYPOSITIVE="DHCP server kan niet opnieuw gestart worden"
28#scc_add
29
30#DESCRIPTION1="Illegale range invullen en error verwachten."
31#PAGE="dhcp/editdhcpd.php"
32#METHOD="post"
33#POSTBODY="new_subnet=10.0.0.0&save=1"
34#IGNOREERROR=1
35#VERIFYPOSITIVE="not on net"
36#VERIFYNEGATIVE="DHCP server kan niet opnieuw gestart worden"
37#scc_add
38
39DESCRIPTION1="Basic pagina check"
40PAGE="dhcp/listleases.php"
41scc_add
42
43
44scc_test || exit 1
Note: See TracBrowser for help on using the repository browser.