support/testing: check ubi image before booting
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Thu, 8 Aug 2019 23:10:11 +0000 (20:10 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 11 Aug 2019 20:11:53 +0000 (22:11 +0200)
commit8de4291bd2097d8142cd9d77a2b3315d3693443b
tree47cbfd62ac9d1de1a32ab5575f4752ea5f859cc5
parent3c933748a498cb7cc36aa16798b1276936746b47
support/testing: check ubi image before booting

Do the same as other fs tests and minimally check the ubi image before
booting.
The call to 'file' was already there, but the output wasn't tested for
some unknown reason. Add the assert for the output of the command.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/tests/fs/test_ubi.py