summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
authorAlexandru Palalau <alexandrux.palalau@linux.intel.com>2014-04-10 13:59:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-10 13:50:21 +0100
commit81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f (patch)
tree2fe5dbc80f74ff7c4335f46dd4c901535ebd149b /meta/lib/oeqa/selftest
parentd3b02218dcfedda8e4efb43b8fa6d13af8d91f78 (diff)
downloadopenembedded-core-81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f.tar.gz
openembedded-core-81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f.tar.bz2
openembedded-core-81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f.zip
selftest: DiskMonTest: use POSIX output for df
Without "-P" df splits the output on multiple lines and breaks the test Signed-off-by: Alexandru Palalau <alexandrux.palalau@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r--meta/lib/oeqa/selftest/buildoptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index 93b02cf8a2..8ff40baddc 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -51,7 +51,7 @@ class ImageOptionsTests(oeSelfTest):
class DiskMonTest(oeSelfTest):
def test_stoptask_behavior(self):
- result = runCmd("df -k %s" % os.getcwd())
+ result = runCmd("df -Pk %s" % os.getcwd())
size = result.output.split("\n")[1].split()[3]
self.write_config('BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},%sK,4510K"' % size)
res = bitbake("m4", ignore_status = True)