mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(sharness): fix AUR_CONFIG generation for mkpkglists test
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4f7aeafa8d
commit
0c57c53da1
2 changed files with 3 additions and 2 deletions
|
@ -67,6 +67,7 @@ sync-dbs = test
|
|||
server = file://$(pwd)/remote/
|
||||
|
||||
[mkpkglists]
|
||||
archivedir = $(pwd)/archive
|
||||
packagesfile = packages.gz
|
||||
packagesmetafile = packages-meta-v1.json.gz
|
||||
packagesmetaextfile = packages-meta-ext-v1.json.gz
|
||||
|
|
|
@ -8,8 +8,8 @@ test_expect_success 'Test package list generation with no packages.' '
|
|||
echo "DELETE FROM Packages;" | sqlite3 aur.db &&
|
||||
echo "DELETE FROM PackageBases;" | sqlite3 aur.db &&
|
||||
cover "$MKPKGLISTS" &&
|
||||
test $(zcat packages.gz | wc -l) -eq 1 &&
|
||||
test $(zcat pkgbase.gz | wc -l) -eq 1
|
||||
test $(zcat packages.gz | wc -l) -eq 0 &&
|
||||
test $(zcat pkgbase.gz | wc -l) -eq 0
|
||||
'
|
||||
|
||||
test_expect_success 'Test package list generation.' '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue