From: Herton R. Krzesinski <her...@redhat.com>

redhat: fix dist-release build number test

Since previous commit, when fixing the build number bump, this test will
fail, now the build number and package release number should match as
this test was intended to check.

Signed-off-by: Herton R. Krzesinski <her...@redhat.com>

diff --git a/redhat/self-test/2001-dist-release.bats 
b/redhat/self-test/2001-dist-release.bats
index blahblah..blahblah 100644
--- a/redhat/self-test/2001-dist-release.bats
+++ b/redhat/self-test/2001-dist-release.bats
@@ -43,7 +43,6 @@ _dist-release_test_2() {
        # Strip off ...kernel-VV.PP.SS-:
        pkgrelease=${title##*kernel-+([5-9]).+([0-9]).+([0-9])-}
        build=$(BUILD= DIST=.fc33 make dist-dump-variables | grep -E "^BUILD=" 
| cut -d"=" -f2 | xargs)
-       ((build--))
        echo "pkgrelease=$pkgrelease"
        echo "build=$build"
        run _dist-release_test_2

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1980
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to