From 435b5fc9024bff261d18456cd6628966eab8452f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 9 Aug 2016 20:04:05 +0200 Subject: 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 --- 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 81c5687d..aeb223e8 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 \ -- cgit v1.2.3-24-g4f1b