mirror of
https://github.com/letic/Shell-Scripts.git
synced 2024-09-28 22:16:04 +00:00
Update smoke-tests.sh
This commit is contained in:
parent
dedd7425c2
commit
e65464cd9c
@ -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 {
|
function smoke {
|
||||||
local bold=$(tput bold)
|
local bold=$(tput bold)
|
||||||
local normal=$(tput sgr0)
|
local normal=$(tput sgr0)
|
||||||
|
Loading…
Reference in New Issue
Block a user