summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-07-28 12:29:28 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-30 08:46:19 +0100
commitc8a4feacd8531500371b4e7d74b4997676ac5833 (patch)
treeff53b0fc3e37774cd8184e540e79cc3aa628af58 /meta/lib
parentae4ee4d51158eb43f770debf6e41646ef8ed9817 (diff)
downloadpoky-c8a4feacd8531500371b4e7d74b4997676ac5833.tar.gz
oe-selftest: wic: fix test_quemu
This test case boots the image in qemu and checks for mounted partitions. As /boot is mounted automatically the test case fails. Fixed this by adding /boot to the list of mounted partitions. (From OE-Core rev: e5ba124b01ff6883a08c91daa47343dd09f6260d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 7c2c877939..aaefd4fde5 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -637,7 +637,7 @@ part /etc --source rootfs --ondisk mmcblk0 --fstype=ext4 --exclude-path bin/ --r
637 cmd = "mount |grep '^/dev/' | cut -f1,3 -d ' '" 637 cmd = "mount |grep '^/dev/' | cut -f1,3 -d ' '"
638 status, output = qemu.run_serial(cmd) 638 status, output = qemu.run_serial(cmd)
639 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output)) 639 self.assertEqual(1, status, 'Failed to run command "%s": %s' % (cmd, output))
640 self.assertEqual(output, '/dev/root /\r\n/dev/sda3 /mnt') 640 self.assertEqual(output, '/dev/root /\r\n/dev/sda1 /boot\r\n/dev/sda3 /mnt')
641 641
642 @only_for_arch(['i586', 'i686', 'x86_64']) 642 @only_for_arch(['i586', 'i686', 'x86_64'])
643 @OETestID(1852) 643 @OETestID(1852)