<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 10 July 2017 at 21:22, <span dir="ltr"><<a href="mailto:libertad.cruz@intel.com" target="_blank">libertad.cruz@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">+class opkgBasicTest(opkgTest):<br>
+ @skipIfNotFeature('package-<wbr>management', 'Test requires package-management to be in IMAGE_FEATURES')<br>
+ @skipIfNotDataVar('IMAGE_<wbr>PKGTYPE','ipk', 'IPK is not the primary package manager')<br>
+ @OEHasPackage(['opkg'])<br>
+<br>
+ @OETestDepends(['ssh.SSHTest.<wbr>test_ssh'])<br>
+ @OETestID(1841)<br>
+ def test_opkg_list(self):<br>
+ self.opkg('list')<br>
+<br>
+ @OETestID(1842)<br>
+ def test_opkg_list_installed(self)<wbr>:<br>
+ self.opkg('list-installed')<br>
+<br>
+ @OETestID(1843)<br>
+ def test_opkg_depends(self):<br>
+ self.opkg('depends opkg')<br>
+<br>
+ @OETestID(1837)<br>
+ def test_opkg_whatdepends(self):<br>
+ self.opkg('whatdepends opkg')<br>
+<br>
+ @OETestID(1838)<br>
+ def test_opkg_status(self):<br>
+ self.opkg('status')<br>
+<br>
+ @OETestID(1839)<br>
+ def test_opkg_info(self):<br>
+ self.opkg('info opkg')<br>
+<br>
+ @OETestID(1840)<br>
+ def test_opkg_print_architecture(<wbr>self):<br>
+ self.opkg('print-architecture'<wbr>)</div></blockquote></div><br>I'd feel a lot happier that this was a selftest if it was exercising more than "opkg doesn't crash". If opkg is replaced by a script that does "echo haha; exit 0" this test case would pass, so can it verify the output too.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>