[pacman-dev] [PATCH 2/2] pactest: fix gensync
Allan McRae
allan at archlinux.org
Sun Oct 10 20:39:57 EDT 2010
On 11/10/10 09:05, Xavier Chantry wrote:
> gensync generated a sync.db file with PKGINFO
> syntax, this is not quite what pacman expects.
>
> Also the file was only added to the Server path :
> root/var/pub/sync/sync.db
> but it was not available in the normal sync db path :
> root/var/lib/pacman/sync/sync.db
>
> change gensync() to generate var/lib/pacman/sync/sync.db and then copy
> it to var/pub/sync/sync.db (this is used by sync200 -Sy test)
> ---
> test/pacman/pmdb.py | 30 +++++++++++++-----------------
> test/pacman/pmtest.py | 12 +++++++-----
> test/pacman/util.py | 1 +
> 3 files changed, 21 insertions(+), 22 deletions(-)
>
> Allan will be happy.. hopefully :)
Yes... very happy. The results for my backend branch:
Total = 200
Pass = 194 ( 97.00%)
Expected Fail = 6 ( 3.00%)
Unexpected Pass = 0 ( 0.00%)
Fail = 0 ( 0.00%)
No new breakages! I must be getting better at this (apart from the
mistakes you have pointed out...) :D
Allan
More information about the pacman-dev
mailing list