summaryrefslogtreecommitdiffstats
path: root/git-interface
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2016-08-09 20:04:05 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-08-10 20:14:22 +0200
commit435b5fc9024bff261d18456cd6628966eab8452f (patch)
tree140ad7b46059a271dc7105b60d245170efcb6ced /git-interface
parent936ee66f1e3e387d24f9bb4f5d00071c15c9f3bd (diff)
downloadaurweb-435b5fc9024bff261d18456cd6628966eab8452f.tar.xz
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>
Diffstat (limited to 'git-interface')
-rwxr-xr-xgit-interface/test/t0003-update.sh6
1 files changed, 0 insertions, 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 \