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>
cwd=self.builddir,
env={"LANG": "C"})
out = out.splitlines()
+ self.assertIn("UBI image, version 1", out[0])
subprocess.call(["truncate", "-s 128M", img])