[Yum-devel] [PATCH] Making package removal easier to test

Tim Lauridsen tim.lauridsen at googlemail.com
Mon Nov 26 14:32:12 UTC 2007

James Bowes wrote:
> While fiddling with some test cases for package removal, I ran into some
> problems with transactioninfo. It looks at the class of a package to
> determine if its from the rpmdb, from a repo, or a local rpm. This makes
> testing with fake packages hard.
> The attached patch switches from looking at the class type to adding a
> package_state variable to packages, which can be easily set for testing.
> I don't think it will break any code using yum out in the wild.
> Thoughts?
> -James
> ------------------------------------------------------------------------
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Looks sane to me


More information about the Yum-devel mailing list