From 96d53109acddb0f4e75b1d83340f26787472c583 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 18 Oct 2024 11:30:28 +0200 Subject: [PATCH] Revert "tests: remove 'test package' comment" This reverts commit 35b6b301349de4e25138ed1a75e92d28a562aa5e. --- tests/abuild_test | 9 +++++++++ tests/testrepo/dbgpkg/APKBUILD | 2 ++ tests/testrepo/invalid-filename/APKBUILD | 2 ++ tests/testrepo/large-doc-subpkg/APKBUILD | 2 ++ tests/testrepo/lib64test/APKBUILD | 2 ++ tests/testrepo/pkg path with spaces/APKBUILD | 2 ++ tests/testrepo/pkg1/APKBUILD | 2 ++ tests/testrepo/setcap/APKBUILD | 2 ++ tests/testrepo/subpackage-arch/APKBUILD | 2 ++ tests/testrepo/test-licenses/APKBUILD | 2 ++ tests/testrepo/test-pkgname/APKBUILD | 2 ++ 11 files changed, 29 insertions(+) diff --git a/tests/abuild_test b/tests/abuild_test index d69164f..ba1ed82 100755 --- a/tests/abuild_test +++ b/tests/abuild_test @@ -622,6 +622,8 @@ abuild_package_size_body() { cd test-size cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + + # test package pkgname="test-size" pkgver="1.0" pkgrel=0 @@ -730,6 +732,8 @@ abuild_keepdirs_body() { cd test-amove cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + + # test package pkgname="test-keepdirs" pkgver="1.0" pkgrel=0 @@ -754,6 +758,8 @@ abuild_amove_body() { cd test-amove cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + + # test package pkgname="test-amove" pkgver="1.0" pkgrel=0 @@ -848,6 +854,7 @@ abuild_doc_body() { cd foo cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + # test package pkgname="foo" pkgver="1.0" pkgrel=0 @@ -885,6 +892,7 @@ abuild_dev_body() { cd foo cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + # test package pkgname="foo" pkgver="1.0" pkgrel=0 @@ -993,6 +1001,7 @@ abuild_cleanoldpkg_body() { for v in 0.9 1.0 1.1; do cat > APKBUILD <<-EOF maintainer="Test User 123 <123@example.com>" + # test package pkgname="foo" pkgver="$v" pkgrel=0 diff --git a/tests/testrepo/dbgpkg/APKBUILD b/tests/testrepo/dbgpkg/APKBUILD index da891e1..9782fb7 100644 --- a/tests/testrepo/dbgpkg/APKBUILD +++ b/tests/testrepo/dbgpkg/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="dbgpkg" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/invalid-filename/APKBUILD b/tests/testrepo/invalid-filename/APKBUILD index 7ba71f6..ecf368d 100644 --- a/tests/testrepo/invalid-filename/APKBUILD +++ b/tests/testrepo/invalid-filename/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="invalid-filename" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/large-doc-subpkg/APKBUILD b/tests/testrepo/large-doc-subpkg/APKBUILD index b73a653..623c4b2 100644 --- a/tests/testrepo/large-doc-subpkg/APKBUILD +++ b/tests/testrepo/large-doc-subpkg/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="large-doc-subpkg" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/lib64test/APKBUILD b/tests/testrepo/lib64test/APKBUILD index 62fbff3..0f3c1d7 100644 --- a/tests/testrepo/lib64test/APKBUILD +++ b/tests/testrepo/lib64test/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="lib64test" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/pkg path with spaces/APKBUILD b/tests/testrepo/pkg path with spaces/APKBUILD index 456b6df..70afebc 100644 --- a/tests/testrepo/pkg path with spaces/APKBUILD +++ b/tests/testrepo/pkg path with spaces/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="pkg-path-with-spaces" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/pkg1/APKBUILD b/tests/testrepo/pkg1/APKBUILD index baf8894..60b9efd 100644 --- a/tests/testrepo/pkg1/APKBUILD +++ b/tests/testrepo/pkg1/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname="pkg1" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/setcap/APKBUILD b/tests/testrepo/setcap/APKBUILD index b6ed08b..d6f9d4b 100644 --- a/tests/testrepo/setcap/APKBUILD +++ b/tests/testrepo/setcap/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname=setcap pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/subpackage-arch/APKBUILD b/tests/testrepo/subpackage-arch/APKBUILD index 6d0f909..ace5945 100644 --- a/tests/testrepo/subpackage-arch/APKBUILD +++ b/tests/testrepo/subpackage-arch/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname=${TESTNAME-test-pkgname} pkgver="${TESTPKGVER-1.0}" pkgrel=0 diff --git a/tests/testrepo/test-licenses/APKBUILD b/tests/testrepo/test-licenses/APKBUILD index 926b300..947c46e 100644 --- a/tests/testrepo/test-licenses/APKBUILD +++ b/tests/testrepo/test-licenses/APKBUILD @@ -1,4 +1,6 @@ maintainer="Olliver Schinagl " + +# test package pkgname="${TESTNAME-test-licenses}" pkgver="1.0" pkgrel=0 diff --git a/tests/testrepo/test-pkgname/APKBUILD b/tests/testrepo/test-pkgname/APKBUILD index e792034..95068da 100644 --- a/tests/testrepo/test-pkgname/APKBUILD +++ b/tests/testrepo/test-pkgname/APKBUILD @@ -1,4 +1,6 @@ maintainer="Natanael Copa " + +# test package pkgname=${TESTNAME-test-pkgname} pkgver="${TESTPKGVER-1.0}" pkgrel=0