From 81a81807d34e4b2ea28d8ba9c29e5b48a14bbc1f Mon Sep 17 00:00:00 2001 From: Alexandru Palalau Date: Thu, 10 Apr 2014 13:59:00 +0300 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/buildoptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oeqa/selftest') 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) -- cgit 1.2.3-korg