File: wait4-apache2

package info (click to toggle)
wait4x 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 740 kB
  • sloc: makefile: 248; sh: 13
file content (7 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
set -ex

# Test wait4x http calls with Apache2 site.

wait4x http http://localhost/ --expect-status-code 200
wait4x http http://localhost/missing-page --expect-status-code 404