File: site1https

package info (click to toggle)
weborf 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,152 kB
  • sloc: sh: 5,272; ansic: 3,505; python: 762; makefile: 119; xml: 44
file content (9 lines) | stat: -rwxr-xr-x 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/bash
. testsuite/functions.sh

PORT=12346
run_weborf -b site1 -p $PORT  --cert cert/certificate.pem --key cert/key.pem

ROBOTS=$(curl -s -k https://127.0.0.1:$PORT/robots.txt)

[[ "$ROBOTS" = $(cat site1/robots.txt) ]]