test/bootchooser: more detailed testing of barebox bootchooser
test/bootchooser: more detailed testing of barebox bootchooser

This extends the tests by adding more checks such as verifying both
rootfs.0 and rootfs.1 state is detected correctly and by extending the
test for primary detection in case of partly invalid elements.

Signed-off-by: Enrico Joerns <a2e5f936c390f36494e46e71bcfbe365bb1e8c49@pengutronix.de>

rauc/rauc,ejoerns/rauc,jluebbe/rauc,rauc/rauc,ejoerns/rauc,jluebbe/rauc,rauc/rauc,ejoerns/rauc,jluebbe/rauc