Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | import unittest |
2 | from oeqa.oetest import oeRuntimeTest | ||||
3 | from oeqa.utils.decorators import * | ||||
4 | |||||
5 | |||||
6 | class DfTest(oeRuntimeTest): | ||||
7 | |||||
8 | @testcase(234) | ||||
9 | @skipUnlessPassed("test_ssh") | ||||
10 | def test_df(self): | ||||
11 | (status,output) = self.target.run("df / | sed -n '2p' | awk '{print $4}'") | ||||
12 | self.assertTrue(int(output)>5120, msg="Not enough space on image. Current size is %s" % output) |