mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 12:37:50 +08:00
RHEL: Add test to verify installed release package versions
This test will check that release packages are from current release version i.e. RHEL 10.0 "el10_0" and not from 10.1 "el10_1" or newer. If newer release packages are found, script will output those packages and exit with exit code 1 to ensure that release version stays locked. Pick-to: 6.11 Task-number: QTQAINFRA-7817 Task-number: QTQAINFRA-7614 Change-Id: I905dd2e72bf5dadc6f3f4b21aa7c09f06204d297 Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
@@ -9,9 +9,13 @@
|
||||
set -ex
|
||||
|
||||
# shellcheck disable=SC2129
|
||||
source "${BASH_SOURCE%/*}/../common/linux/verify-release-packages.sh"
|
||||
|
||||
echo "*********************************************" >> ~/versions.txt
|
||||
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
||||
rpm -q -a | sort >> ~/versions.txt
|
||||
echo "*********************************************" >> ~/versions.txt
|
||||
|
||||
"$(dirname "$0")/../common/linux/version.sh"
|
||||
|
||||
verify_release_packages "10_[1-9]"
|
||||
|
||||
Reference in New Issue
Block a user