summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost2018-06-19 00:51:29 +0200
committerEduardo Habkost2018-10-04 04:08:51 +0200
commit8d0ea57ad43b62ddf0838244d3f5b8390928dfc2 (patch)
tree0a70414e98486c02d36c231b3c674e840021cb1a
parentMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff)
downloadqemu-8d0ea57ad43b62ddf0838244d3f5b8390928dfc2.tar.gz
qemu-8d0ea57ad43b62ddf0838244d3f5b8390928dfc2.tar.xz
qemu-8d0ea57ad43b62ddf0838244d3f5b8390928dfc2.zip
device-crash-test: No need for sys.path hack
The device-crash-test script is already inside the 'scripts' directory, there's no need to add the directory manually to sys.path. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20180618225131.13113-2-ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rwxr-xr-xscripts/device-crash-test1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/device-crash-test b/scripts/device-crash-test
index 7045594bd4..da0bc5edd0 100755
--- a/scripts/device-crash-test
+++ b/scripts/device-crash-test
@@ -35,7 +35,6 @@ import random
import argparse
from itertools import chain
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'scripts'))
from qemu import QEMUMachine
logger = logging.getLogger('device-crash-test')