From eb787927e66b04e24317d98fa16a0477cc80c36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Wed, 13 Mar 2024 18:10:42 +0100 Subject: [PATCH] tests: Simply licenses test --- tests/test_licenses.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/test_licenses.sh b/tests/test_licenses.sh index 6ce7ea0..425fbeb 100644 --- a/tests/test_licenses.sh +++ b/tests/test_licenses.sh @@ -38,17 +38,9 @@ LICENSES=( ) output=tests/tmp -template=$(mktemp -d) -cp -rf . "${template}" -( - cd "${template}" || exit 1 - git add . -A || true - git commit -m "test" || true - git tag 99.99.99 -) for license in "${LICENSES[@]}"; do - copier copy -f --trust "${template}" "${output}" \ + copier copy -fr HEAD --trust . "${output}" \ -d project_name="Pawamoy Testing" \ -d project_description='Testing this great template' \ -d author_fullname="Timothée Mazzucotelli" \