|
Last change
on this file since e856512 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:
562 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | source scctestlib || exit 1 |
|---|
| 4 | |
|---|
| 5 | #fix ssh access |
|---|
| 6 | ../npl/sshkeyfix root@$IP || exit 1 |
|---|
| 7 | |
|---|
| 8 | #haal lijst met scc php files op |
|---|
| 9 | ssh root@$IP "cd /usr/webint/htdocs; find . -name '*.php'" > /tmp/scan.$$ || exit 1 |
|---|
| 10 | |
|---|
| 11 | #eerst weer uitloggen |
|---|
| 12 | DESCRIPTION1="uitloggen" |
|---|
| 13 | IGNOREERROR=1 |
|---|
| 14 | PAGE="login/login.php?logout=1" |
|---|
| 15 | scc_add |
|---|
| 16 | |
|---|
| 17 | #genereer test aan de hand van alle php files |
|---|
| 18 | for PAGE in `cat /tmp/scan.$$`; do |
|---|
| 19 | DESCRIPTION1="test 302 code $PAGE" |
|---|
| 20 | PAGE="$PAGE" |
|---|
| 21 | IGNOREERROR=1 |
|---|
| 22 | #VERIFYRESPONSECODE=302 |
|---|
| 23 | VERIFYNEGATIVE="\<" |
|---|
| 24 | scc_add |
|---|
| 25 | done |
|---|
| 26 | |
|---|
| 27 | scc_test || exit 1 |
|---|
Note: See
TracBrowser
for help on using the repository browser.