Test if the postorius/hk is available too.
This commit is contained in:
@@ -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
11
tests/test.sh
Executable 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"
|
||||
Reference in New Issue
Block a user