Commit 37d90574 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

zdtm.py: chdir to dir the py script is in

It allows to execute zdtm.py not only from the test directory.
Signed-off-by: 's avatarAndrew Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 400dbd6a
...@@ -17,6 +17,8 @@ import string ...@@ -17,6 +17,8 @@ import string
import imp import imp
import socket import socket
os.chdir(os.path.dirname(os.path.abspath(__file__)))
prev_line = None prev_line = None
def traceit(f, e, a): def traceit(f, e, a):
if e == "line": if e == "line":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment