]> code.ossystems Code Review - openembedded-core.git/commit
meta-selftest: wic: Add test for --use-uuid / --fsuuid
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2017 03:20:26 +0000 (22:20 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Dec 2017 18:00:25 +0000 (18:00 +0000)
commit6d9396b26218f3234701944f385d5c36face8121
treee685412d61c7703ba1788b4daf37d488031c204f
parent9256b8799495634ee8aee5d16ff71bd6e6e25ed4
meta-selftest: wic: Add test for --use-uuid / --fsuuid

- Mount a '/media' partition to wic-image-minimal.wks with a known UUID.
- In test_qemu, sort our output from checking the output of 'mount' as
  it may not be stable.  Also, do not check the exit code as passing any
  output to cut ensures a 0 exit code.
- Check for a 'UUID=' line in /etc/fstab with out expected output.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/recipes-test/images/wic-image-minimal.wks
meta/lib/oeqa/selftest/cases/wic.py