OSDN Git Service

qemu-iotests: fix qmp.py search path
authorFam Zheng <famz@redhat.com>
Thu, 26 Sep 2013 11:57:34 +0000 (19:57 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 26 Sep 2013 14:04:24 +0000 (16:04 +0200)
QMP/qmp.py is renamed to scripts/qmp/qmp.py, fix the search path in iotests.py.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py

index 87b4a3a..376d6e8 100644 (file)
@@ -21,7 +21,7 @@ import re
 import subprocess
 import string
 import unittest
-import sys; sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'QMP'))
+import sys; sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'scripts', 'qmp'))
 import qmp
 import struct