[OS-BUILD PATCH] redhat/self-test: Delete release test 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/self-test: Delete release test 3

This test is no longer valid and should be deleted.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

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
@@ -41,21 +41,6 @@
     [ "$status" = 0 ]
 }
 
-@test "dist-release test 3" {
-    # Test whether the version in the commit message matches
-    # the version in the change log.
-    cd $BATS_TMPDIR/distrelease
-    # Extract just the version part (the part between [ ]) on the first line of
-    # the change log:
-    changelogversion=$(head -1 ./redhat/kernel.changelog-8.99 | sed -e 's/.*\[\(.*\)\].*/\1/')
-    commit="$(git log --oneline -n 1)"
-    # Extract just the commit message part AFTER "[redhat] ":
-    title=${commit##*\[redhat\] }
-    # This time, strip off "kernel-" also:
-    title=${title/kernel-/}
-    [ "$changelogversion" = "$title" ]
-}
-
 @test "dist-release epilogue" {
     git worktree remove --force $BATS_TMPDIR/distrelease
     git branch -D distrelease

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1636
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux