[Yum-devel] [PATCH] Making package removal easier to test
Tim Lauridsen
tim.lauridsen at googlemail.com
Wed Nov 28 10:53:35 UTC 2007
Tim Lauridsen wrote:
> 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
>
> Tim
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
Since nobody have complained loudly :)
Can you then please commit it, it is very usefull for some of my
skip-broken testcases.
Tim
More information about the Yum-devel
mailing list