From e65464cd9cedcb71e2303a92657bbb26836114ef Mon Sep 17 00:00:00 2001 From: Mark McDonnell Date: Fri, 26 Aug 2016 14:54:12 +0100 Subject: [PATCH] Update smoke-tests.sh --- smoke-tests.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/smoke-tests.sh b/smoke-tests.sh index f7af3ce..b6c8010 100644 --- a/smoke-tests.sh +++ b/smoke-tests.sh @@ -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)