Update smoke-tests.sh

This commit is contained in:
Mark McDonnell 2016-08-26 14:54:12 +01:00 committed by GitHub
parent dedd7425c2
commit e65464cd9c
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
#!/bin/bash
#
# Example:
# /bin/bash ./smoke-tests.sh www
#
# Description:
# Requests all defined URLs and checks it contains an expected response header
# Exits immediately if any of the tests fail
function smoke {
local bold=$(tput bold)
local normal=$(tput sgr0)