From b3b659a9f45cda8757937cbeeca83ef6741071f2 Mon Sep 17 00:00:00 2001
From: Sertonix <sertonix@posteo.net>
Date: Tue, 8 Oct 2024 13:00:00 +0200
Subject: [PATCH] test: fix BSD-4-Clause license name

---
 tests/abuild_test                     | 2 +-
 tests/testrepo/test-licenses/APKBUILD | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/abuild_test b/tests/abuild_test
index d67587ab..af99a28d 100755
--- a/tests/abuild_test
+++ b/tests/abuild_test
@@ -518,7 +518,7 @@ abuild_multiline_license_body() {
 	cp -ra "$testrepo"/test-licenses .
 	cd test-licenses
 	abuild rootpkg
-	atf_check -o match:'^license = MIT AND \(GPL-3.0-only OR GPL-3.0-or-later AND BSD-Clause-4\)$' \
+	atf_check -o match:'^license = MIT AND \(GPL-3.0-only OR GPL-3.0-or-later AND BSD-4-Clause\)$' \
 		cat pkg/.control.test-licenses/.PKGINFO
 }
 
diff --git a/tests/testrepo/test-licenses/APKBUILD b/tests/testrepo/test-licenses/APKBUILD
index 986ae07f..0d954b7a 100644
--- a/tests/testrepo/test-licenses/APKBUILD
+++ b/tests/testrepo/test-licenses/APKBUILD
@@ -11,7 +11,7 @@ license='MIT AND
          (GPL-3.0-only OR  
   
  GPL-3.0-or-later AND   
-		 BSD-Clause-4)
+		 BSD-4-Clause)
 '
 
 prepare() {
-- 
GitLab