On 05/11/2017 08:33 PM, jose.perez.carra...@linux.intel.com wrote:
+    def test_dnf_exclude(self):
+        excludepkg = 'curl-dev'
+        self.dnf('list %s' % excludepkg, 0)
+        self.dnf_with_repo('remove -y curl')
+        self.dnf_with_repo('install -y --exclude=%s curl' % excludepkg)
+        self.dnf('list %s' % excludepkg, 1)

1) Why is curl-dev already installed when the test starts? Will that be always the case?

2) I still don't understand how the test works. You are asking for curl to be installed and curl-dev to be excluded, but curl-dev would not be installed regardless of --exclude option, because curl does not depend on it. You need to test a situation where --exclude makes a difference, and check that there is indeed a difference.

Alex

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to