We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7435e3e commit b055cf4Copy full SHA for b055cf4
tests/test_no_app.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+
3
+function clean() {
4
+ docker rm -f no_app
5
+}
6
7
+cd /tmp
8
+clean
9
10
+docker run -d \
11
+ --name no_app \
12
+ -e ROOT_URL=http://no_app \
13
+ -p 9090:80 \
14
+ meteorhacks/meteord:base
15
16
+sleep 10
17
18
+appContent=`docker logs no_app`
19
20
21
+if [[ $appContent != *"You don't have an meteor app"* ]]; then
22
+ echo "Failed: To check whether actual meteor bundle exists or not"
23
+ exit 1
24
+fi
0 commit comments