diff --git a/tests/test_ntp.py b/tests/test_ntp.py index 0ef81b9f96c6abb96c757036ae3002a3c1c50add..f57f7ff8b6cb0b146c6ea7744d37ccb5bb4f7b63 100755 --- a/tests/test_ntp.py +++ b/tests/test_ntp.py @@ -15,6 +15,8 @@ if 'remote' not in ntpd_status: else: print('System is NTP synchronized') +os.chdir(os.path.dirname(__file__)) + print('Checking NTP server conforms to conf') if os.path.isfile('../utils.py'): es_utils = imp.load_source('es_utils', '../utils.py')