summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/df.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/df.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/df.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/df.py b/meta/lib/oeqa/runtime/cases/df.py
index d8d79f32ea..89fd0fb901 100644
--- a/meta/lib/oeqa/runtime/cases/df.py
+++ b/meta/lib/oeqa/runtime/cases/df.py
@@ -11,7 +11,7 @@ class DfTest(OERuntimeTestCase):
11 @OETestDepends(['ssh.SSHTest.test_ssh']) 11 @OETestDepends(['ssh.SSHTest.test_ssh'])
12 @OEHasPackage(['coreutils', 'busybox']) 12 @OEHasPackage(['coreutils', 'busybox'])
13 def test_df(self): 13 def test_df(self):
14 cmd = "df / | sed -n '2p' | awk '{print $4}'" 14 cmd = "df -P / | sed -n '2p' | awk '{print $4}'"
15 (status,output) = self.target.run(cmd) 15 (status,output) = self.target.run(cmd)
16 msg = 'Not enough space on image. Current size is %s' % output 16 msg = 'Not enough space on image. Current size is %s' % output
17 self.assertTrue(int(output)>5120, msg=msg) 17 self.assertTrue(int(output)>5120, msg=msg)