Test if the postorius/hk is available too.

This commit is contained in:
Abhilash Raj
2017-05-28 19:08:04 -07:00
parent 7b4376dd1b
commit 98e6401334
3 changed files with 12 additions and 5 deletions

View File

@@ -1,4 +0,0 @@
#!/bin/bash
set -e
curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system

11
tests/test.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
# Check to see if the core is up.
curl -u restadmin:restpass http://172.19.199.2:8001/3.1/system
# Check to see if postorius is working.
curl -L http://172.19.199.3:8000/postorius/lists | grep "Mailing List"
# Check to see if hyperkitty is working.
curl -L http://172.19.199.3:8000/hyperkitty/ | grep "Available lists"