mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
t0003: Do not initialize package bases explicitly
Package bases are created by git-update automatically when the repository receives a ref update for the first time. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
936ee66f1e
commit
435b5fc902
1 changed files with 0 additions and 6 deletions
|
@ -4,11 +4,6 @@ test_description='git-update tests'
|
||||||
|
|
||||||
. ./setup.sh
|
. ./setup.sh
|
||||||
|
|
||||||
test_expect_success 'Setup repositories and create package bases.' '
|
|
||||||
SSH_ORIGINAL_COMMAND="setup-repo foobar" AUR_USER=user "$GIT_SERVE"
|
|
||||||
SSH_ORIGINAL_COMMAND="setup-repo foobar2" AUR_USER=user "$GIT_SERVE"
|
|
||||||
'
|
|
||||||
|
|
||||||
test_expect_success 'Test update hook on a fresh repository.' '
|
test_expect_success 'Test update hook on a fresh repository.' '
|
||||||
old=0000000000000000000000000000000000000000 &&
|
old=0000000000000000000000000000000000000000 &&
|
||||||
new=$(git -C aur.git rev-parse HEAD^) &&
|
new=$(git -C aur.git rev-parse HEAD^) &&
|
||||||
|
@ -20,7 +15,6 @@ test_expect_success 'Test update hook on a fresh repository.' '
|
||||||
1|1
|
1|1
|
||||||
1|1|python-pygit2||
|
1|1|python-pygit2||
|
||||||
1|1
|
1|1
|
||||||
2|1
|
|
||||||
EOF
|
EOF
|
||||||
>actual &&
|
>actual &&
|
||||||
for t in Packages Licenses PackageLicenses Groups PackageGroups \
|
for t in Packages Licenses PackageLicenses Groups PackageGroups \
|
||||||
|
|
Loading…
Add table
Reference in a new issue