summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-30 12:50:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-23 12:00:53 (GMT)
commit73a7838a52b9e1cd0e6af46b8558baf69fc684f3 (patch)
tree521c48d3953a8f6b232f888c1b90deaeca12ec81
parent5d2b15f0681398c6fd585b3505093c688f17a6b3 (diff)
downloadpoky-73a7838a52b9e1cd0e6af46b8558baf69fc684f3.tar.gz
qemuimage-testlib: Use ww option to ps to ensure command output isn't truncated
(From OE-Core rev: c7a6d7fa5032a16a9e1f8fa5a563802f9d9fe607) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/qemuimage-testlib-pythonhelper2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib-pythonhelper b/scripts/qemuimage-testlib-pythonhelper
index 2c1f557..bb01246 100755
--- a/scripts/qemuimage-testlib-pythonhelper
+++ b/scripts/qemuimage-testlib-pythonhelper
@@ -19,7 +19,7 @@ if options.findqemu:
19 # 19 #
20 # Walk the process tree from the process specified looking for a qemu-system. Return its pid. 20 # Walk the process tree from the process specified looking for a qemu-system. Return its pid.
21 # 21 #
22 ps = subprocess.Popen(['ps', 'ax', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0] 22 ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0]
23 processes = ps.split('\n') 23 processes = ps.split('\n')
24 nfields = len(processes[0].split()) - 1 24 nfields = len(processes[0].split()) - 1
25 pids = {} 25 pids = {}