[aur-dev] [PATCH 2/2] t0003: Do not initialize package bases explicitly
Lukas Fleischer
lfleischer at archlinux.org
Wed Aug 10 18:11:16 UTC 2016
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 at archlinux.org>
---
git-interface/test/t0003-update.sh | 6 ------
1 file changed, 6 deletions(-)
diff --git a/git-interface/test/t0003-update.sh b/git-interface/test/t0003-update.sh
index 81c5687..aeb223e 100755
--- a/git-interface/test/t0003-update.sh
+++ b/git-interface/test/t0003-update.sh
@@ -4,11 +4,6 @@ test_description='git-update tests'
. ./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.' '
old=0000000000000000000000000000000000000000 &&
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|python-pygit2||
1|1
- 2|1
EOF
>actual &&
for t in Packages Licenses PackageLicenses Groups PackageGroups \
--
2.9.2
More information about the aur-dev
mailing list