From f53e859f7aef584151ca46b143814a5bcf47e51a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Thu, 2 Feb 2017 10:04:18 +0100
Subject: [PATCH] Fixed NTP test working dir.

---
 tests/test_ntp.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/test_ntp.py b/tests/test_ntp.py
index 0ef81b9f..f57f7ff8 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')
-- 
GitLab