From 2f97afb3f0abc38319e5c4cd0034cd227560e12a Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Thu, 28 Nov 2013 13:29:18 +0000 Subject: [PATCH] Add a static website test. --- tests/apps/static/.nginx | 0 tests/apps/static/check_deploy | 2 ++ tests/apps/static/www/index.html | 1 + 3 files changed, 3 insertions(+) create mode 100644 tests/apps/static/.nginx create mode 100755 tests/apps/static/check_deploy create mode 100644 tests/apps/static/www/index.html diff --git a/tests/apps/static/.nginx b/tests/apps/static/.nginx new file mode 100644 index 000000000..e69de29bb diff --git a/tests/apps/static/check_deploy b/tests/apps/static/check_deploy new file mode 100755 index 000000000..6c84f08b7 --- /dev/null +++ b/tests/apps/static/check_deploy @@ -0,0 +1,2 @@ +#!/bin/bash +set -e; output="$(curl -s $1)"; echo $output; test "$output" == "

Static Page

" diff --git a/tests/apps/static/www/index.html b/tests/apps/static/www/index.html new file mode 100644 index 000000000..fab111bb0 --- /dev/null +++ b/tests/apps/static/www/index.html @@ -0,0 +1 @@ +

Static Page