diff --git a/qubes/tests/integ/grub.py b/qubes/tests/integ/grub.py index 1860b109..285f4da7 100644 --- a/qubes/tests/integ/grub.py +++ b/qubes/tests/integ/grub.py @@ -72,7 +72,7 @@ class GrubBase(object): elif self.template.startswith('debian-'): cmd_get_kernel_version = \ 'dpkg-query --showformat=\'${Package}\\n\' --show ' \ - '\'linux-image-*-amd64\'|sort -n|tail -1|cut -d - -f 3-' + '\'linux-image-*-amd64\'|sort -V|tail -1|cut -d - -f 3-' else: raise RuntimeError("Unsupported template?!")