Skip to contentSkip to conversation

qemu-iotests: fix qmp.py search path

PATCH Applied Fam Zheng 3 participants 3 messages Sep 26, 2013

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 qemu-iotests: fix qmp.py search path

QMP/qmp.py is renamed to scripts/qmp/qmp.py, fix the search path in iotests.py.

---
 tests/qemu-iotests/iotests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/iotests.py +1 -1
index 87b4a3a..376d6e8 100644
@@ -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
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 1 line · On Thu, 26 Sep 2013 19:57:34 +0800 Fam Zheng <[email protected]> wrote:

QMP/qmp.py is renamed to scripts/qmp/qmp.py, fix the search path in iotests.py.

OOPs, sorry for that.

Quoted 19 lines
---
 tests/qemu-iotests/iotests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/iotests.py +1 -1
index 87b4a3a..376d6e8 100644
@@ -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