[pacman-dev] [PATCH 1/5] Tests: Adjust sync023 to correctly test FS#20221

Jakob Gruber jakob.gruber at gmail.com
Mon Sep 27 16:33:35 EDT 2010


  On 09/27/2010 09:54 PM, Xavier Chantry wrote:
> On Mon, Sep 27, 2010 at 8:38 PM, Jakob Gruber<jakob.gruber at gmail.com>  wrote:
>> I couldn't see how the original test made any sense, so I adjusted it to
>> test FS#20221 (as specified in commit
>> e702f56ea671c6cd1154a0ddb41fa63e97587c85).
>>
>> The old PKG_EXIST rules do nothing because pkg{1,2,3} are created in both
>> the local repo and the sync repo.
>>
>> Likewise, the old PKG_VERSION rule has no effect because pkg1 is version
>> 1.1-1 in all (local, sync, testing) repos.
>>
>> So the only thing it actually tests is that '-S --needed grp' runs without
>> errors, and my updated test also checks for that.
>>
>> Or did I miss something? If you'd still like to have it as a separate test,
>> let me know.
>>
>>
> Maybe what you missed is that the default version is 1.0-1 ?
>
> The existing sync023 pactest looks good to me.
>
Ouch, can't believe I didn't notice that. Guess that makes my changes to 
sync023 superfluous.


More information about the pacman-dev mailing list