summaryrefslogtreecommitdiff
path: root/test/nagios/webapp_login.py
diff options
context:
space:
mode:
authordb <db@leap.se>2014-03-06 10:53:54 -0300
committervarac <varacanero@zeromail.org>2014-04-02 14:54:21 +0200
commita813647ecf95a8c965bff80342903613354a22e5 (patch)
treefd4e34d9a3904653e03b635658d3d50c02d6e78f /test/nagios/webapp_login.py
parent588ae06b051ca35abebdd925d99980cb541d6f95 (diff)
Add script to check if soledad is working (#5239).
Diffstat (limited to 'test/nagios/webapp_login.py')
-rwxr-xr-xtest/nagios/webapp_login.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/nagios/webapp_login.py b/test/nagios/webapp_login.py
index afa3edf..1711238 100755
--- a/test/nagios/webapp_login.py
+++ b/test/nagios/webapp_login.py
@@ -82,4 +82,5 @@ def fail(reason):
print '2 webapp_login - CRITICAL - ' + reason
exit(2)
-run_tests(read_config())
+if __name__ == '__main__':
+ run_tests(read_config())