From 62689e25ac265d53837a27fb883ce34dcc1f0c8b Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Fri, 3 Mar 2023 17:18:17 -0500 Subject: [PATCH] chezmoi: fix tests --- srcpkgs/chezmoi/template | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/srcpkgs/chezmoi/template b/srcpkgs/chezmoi/template index fb69025aca4..99a8d6fd39b 100644 --- a/srcpkgs/chezmoi/template +++ b/srcpkgs/chezmoi/template @@ -6,7 +6,7 @@ build_style=go go_import_path="github.com/twpayne/chezmoi/v2" go_build_tags="noembeddocs noupgrade" go_ldflags="-X main.version=${version} -X main.commit=v${version} -X main.builtBy=xbps" -checkdepends="tar" +checkdepends="tar git" short_desc="Manage your dotfiles across multiple machines, securely" maintainer="classabbyamp " license="MIT" @@ -22,12 +22,6 @@ pre_build() { fi } -pre_check() { - # These tests fail with a "git: 'submodule' is not a git command." - # error because chroot-git does not include that subcommand. - rm pkg/cmd/testdata/scripts/{init,issue1213,issue2649,root,update}.txtar -} - do_check() { make test }