Skip to content
Snippets Groups Projects
Commit d91acd5f authored by Florent Thiery's avatar Florent Thiery
Browse files

return proper return code for non testable items

parent c10403f0
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ DEF = '\033[0m' ...@@ -16,7 +16,7 @@ DEF = '\033[0m'
if not os.path.exists('/etc/nginx/sites-enabled/skyreach.conf'): if not os.path.exists('/etc/nginx/sites-enabled/skyreach.conf'):
print('Server not running CampusManager, skipping test') print('Server not running CampusManager, skipping test')
sys.exit(0) sys.exit(2)
os.chdir(os.path.dirname(__file__)) os.chdir(os.path.dirname(__file__))
if not os.path.isfile('../utils.py'): if not os.path.isfile('../utils.py'):
......
...@@ -16,7 +16,7 @@ DEF = '\033[0m' ...@@ -16,7 +16,7 @@ DEF = '\033[0m'
if not os.path.isdir('/etc/nginx'): if not os.path.isdir('/etc/nginx'):
print('Nginx not found, skipping test') print('Nginx not found, skipping test')
sys.exit(0) sys.exit(2)
os.chdir(os.path.dirname(__file__)) os.chdir(os.path.dirname(__file__))
if not os.path.isfile('../utils.py'): if not os.path.isfile('../utils.py'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment