clock drift with ntp test: Fix drift file parsing
- int("1.1") is an error in python; if the input is a string, it cannot
contain decimals.
- The contents of the drift file can be negative, make sure to convert
the number to the absolute value before comparing with 20.
Signed-off-by: NJonas Eriksson <jonas.eriksson@enea.com>
Showing
想要评论请 注册 或 登录