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>
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)