Add a static website test.
This commit is contained in:
0
tests/apps/static/.nginx
Normal file
0
tests/apps/static/.nginx
Normal file
2
tests/apps/static/check_deploy
Executable file
2
tests/apps/static/check_deploy
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e; output="$(curl -s $1)"; echo $output; test "$output" == "<html><h3>Static Page</h3></html>"
|
||||||
1
tests/apps/static/www/index.html
Normal file
1
tests/apps/static/www/index.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<html><h3>Static Page</h3></html>
|
||||||
Reference in New Issue
Block a user