I have confirmed that opkg does return non zero (255) when it fails to install, so with failonfail it does bomb out.

Before I had a test that expected the exception, should I still test for this? If so, how do I simulate opkg returning 255 and what should "expect" ?