gcc484ntopperl-5.22
Last change
on this file since 0105685 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.3 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | |
---|
4 | source testlib || exit 1 |
---|
5 | |
---|
6 | DESCRIPTION1="Ssh beschikbaar?" |
---|
7 | VERIFYEXIT=0 |
---|
8 | sshtest || exit 1 |
---|
9 | |
---|
10 | DESCRIPTION1="Sla test over indien we niet de juiste licentieoptie hebben." |
---|
11 | CMD="cat /etc/webint/REG" |
---|
12 | VERIFYPOSITIVE='"I"' |
---|
13 | if ! sshtest; then |
---|
14 | echo "Dit is geen internetserver, test overgeslagen" |
---|
15 | exit 0 |
---|
16 | fi |
---|
17 | |
---|
18 | ################################# |
---|
19 | |
---|
20 | DESCRIPTION1="zooi opruim" |
---|
21 | PAGE="dns/editadr.php?rule_txt=%3Dtest.local%3A1.1.1.1&del=1" |
---|
22 | scc_add |
---|
23 | #niet te snel, ivm timestamps en make commando. |
---|
24 | #vandaar extra scc_test |
---|
25 | scc_test || exit 1 |
---|
26 | |
---|
27 | DESCRIPTION1="test dns entrie aanmaken" |
---|
28 | METHOD="post" |
---|
29 | POSTBODY="save=1&new_type==&new_src=test.local&new_dst=1.1.1.1" |
---|
30 | PAGE="dns/editadr.php" |
---|
31 | VERIFYPOSITIVE="Nieuw DNS adres:" |
---|
32 | scc_add |
---|
33 | scc_test || exit 1 |
---|
34 | |
---|
35 | |
---|
36 | DESCRIPTION1="test onze forward" |
---|
37 | CMD="dnsip test.local" |
---|
38 | VERIFYPOSITIVE="1.1.1.1" |
---|
39 | sshtest || exit 1 |
---|
40 | |
---|
41 | DESCRIPTION1="test onze reverse" |
---|
42 | CMD="dnsname 1.1.1.1" |
---|
43 | VERIFYPOSITIVE="test.local" |
---|
44 | sshtest || exit 1 |
---|
45 | |
---|
46 | DESCRIPTION1="haal weer weg" |
---|
47 | PAGE="dns/editadr.php?rule_txt=%3Dtest.local%3A1.1.1.1&del=1" |
---|
48 | scc_add |
---|
49 | scc_test || exit 1 |
---|
50 | |
---|
51 | DESCRIPTION1="test onze forward weg is" |
---|
52 | CMD="dnsip test.local" |
---|
53 | VERIFYNEGATIVE="1.1.1.1" |
---|
54 | sshtest || exit 1 |
---|
55 | |
---|
56 | DESCRIPTION1="test onze reverse weg is" |
---|
57 | CMD="dnsname 1.1.1.1" |
---|
58 | VERIFYNEGATIVE="test.local" |
---|
59 | sshtest || exit 1 |
---|
60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.