@@ -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
@@ -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"
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@canonical.com> --- debian/tests/rebuild | 2 +- debian/tests/ubuntu-regression-suite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)