Skip to content
Snippets Groups Projects
Commit f53e859f authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Fixed NTP test working dir.

parent eb305240
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ if 'remote' not in ntpd_status: ...@@ -15,6 +15,8 @@ if 'remote' not in ntpd_status:
else: else:
print('System is NTP synchronized') print('System is NTP synchronized')
os.chdir(os.path.dirname(__file__))
print('Checking NTP server conforms to conf') print('Checking NTP server conforms to conf')
if os.path.isfile('../utils.py'): if os.path.isfile('../utils.py'):
es_utils = imp.load_source('es_utils', '../utils.py') es_utils = imp.load_source('es_utils', '../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