[REVIEW 10/10][linux] UBUNTU: [Debian] Update linux source package name in debian/tests/*
Seth Forshee
seth.forshee at canonical.com
Tue Dec 3 22:26:44 UTC 2019
Change test scripts checking for linux as a source package name
to look for linux-[0-9].[0-9] instead to cope with the change
in source package naming.
Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
---
debian/tests/rebuild | 2 +-
debian/tests/ubuntu-regression-suite | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/tests/rebuild b/debian/tests/rebuild
index 365835c92d92..49ad5b235603 100755
--- a/debian/tests/rebuild
+++ b/debian/tests/rebuild
@@ -7,7 +7,7 @@ build_needed=0
for trigger in ${ADT_TEST_TRIGGERS:-force}
do
case "$trigger" in
- linux/*|linux-lts-*/*|linux-meta*/*|linux-oem*/*|fakeroot/*|gdb/*|git/*|bzr/*|gcc-multilib/*) ;;
+ linux-[0-9].[0-9]/*|linux-lts-*/*|linux-meta*/*|linux-oem*/*|fakeroot/*|gdb/*|git/*|bzr/*|gcc-multilib/*) ;;
*) build_needed=1 ;;
esac
done
diff --git a/debian/tests/ubuntu-regression-suite b/debian/tests/ubuntu-regression-suite
index 72a95a1e32cd..0e9a2115a74f 100755
--- a/debian/tests/ubuntu-regression-suite
+++ b/debian/tests/ubuntu-regression-suite
@@ -4,7 +4,7 @@ set -e
# Only run regression-suite on kernels we can boot in canonistack
source=`dpkg-parsechangelog -SSource`
case $source in
- linux|linux-hwe|linux-hwe-edge|linux-kvm|linux-oem)
+ linux-[0-9].[0-9]|linux-hwe|linux-hwe-edge|linux-kvm|linux-oem)
;;
*)
echo "ubuntu-regression-suite is pointless, if one cannot boot the kernel"
--
2.24.0
More information about the kernel-team
mailing list