Debian Codegraph @

debian/tests/assert-http

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # HTTP integration tests
3
4 set -e
5
6 function dumpscip-shell shell shell-project 0.0.0 dump().() {
7 catscip-shell system . . cat. /var/log/mediawiki/error.logscip-shell filesystem . . `/var/log/mediawiki/error.log`. ||:
8 catscip-shell system . . cat. /var/log/mediawiki/exception.logscip-shell filesystem . . `/var/log/mediawiki/exception.log`. ||:
9 catscip-shell system . . cat. /var/log/mediawiki/fatal.logscip-shell filesystem . . `/var/log/mediawiki/fatal.log`. ||:
10 }
11
12 trap dump SIGINT
13 trap dump SIGTERM
14 trap dump EXIT
15
16 curlscip-shell system . . curl. --silent -I "http://localhost/mediawiki/index.php/Main_Page"
17 curlscip-shell system . . curl. --silent "http://localhost/mediawiki/index.php/Main_Page"
18 curlscip-shell system . . curl. --silent "http://localhost/mediawiki/index.php/Main_Page" | grepscip-shell system . . grep. "MediaWiki has been installed"
19 curlscip-shell system . . curl. --silent "http://localhost/mediawiki/index.php/Special:BlankPage" | grepscip-shell system . . grep. "This page is intentionally left blank."