<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 10 July 2017 at 21:22,  <span dir="ltr">&lt;<a href="mailto:libertad.cruz@intel.com" target="_blank">libertad.cruz@intel.com</a>&gt;</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(&#39;package-<wbr>management&#39;, &#39;Test requires package-management to be in IMAGE_FEATURES&#39;)<br>
+    @skipIfNotDataVar(&#39;IMAGE_<wbr>PKGTYPE&#39;,&#39;ipk&#39;, &#39;IPK is not the primary package manager&#39;)<br>
+    @OEHasPackage([&#39;opkg&#39;])<br>
+<br>
+    @OETestDepends([&#39;ssh.SSHTest.<wbr>test_ssh&#39;])<br>
+    @OETestID(1841)<br>
+    def test_opkg_list(self):<br>
+       self.opkg(&#39;list&#39;)<br>
+<br>
+    @OETestID(1842)<br>
+    def test_opkg_list_installed(self)<wbr>:<br>
+       self.opkg(&#39;list-installed&#39;)<br>
+<br>
+    @OETestID(1843)<br>
+    def test_opkg_depends(self):<br>
+       self.opkg(&#39;depends opkg&#39;)<br>
+<br>
+    @OETestID(1837)<br>
+    def test_opkg_whatdepends(self):<br>
+      self.opkg(&#39;whatdepends opkg&#39;)<br>
+<br>
+    @OETestID(1838)<br>
+    def test_opkg_status(self):<br>
+      self.opkg(&#39;status&#39;)<br>
+<br>
+    @OETestID(1839)<br>
+    def test_opkg_info(self):<br>
+        self.opkg(&#39;info opkg&#39;)<br>
+<br>
+    @OETestID(1840)<br>
+    def test_opkg_print_architecture(<wbr>self):<br>
+        self.opkg(&#39;print-architecture&#39;<wbr>)</div></blockquote></div><br>I&#39;d feel a lot happier that this was a selftest if it was exercising more than &quot;opkg doesn&#39;t crash&quot;.  If opkg is replaced by a script that does &quot;echo haha; exit 0&quot; 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>