From 0da9f9972b0220d90f01b4a4dd41247aa6a86092 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 4 Apr 2019 11:33:19 -0400 Subject: [PATCH] tests/vmcheck: Adapt to kernel v5.0 Closes: #1810 Approved by: jlebon --- tests/vmcheck/test-override-kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/vmcheck/test-override-kernel.sh b/tests/vmcheck/test-override-kernel.sh index 499a20a0..7fe48a9c 100755 --- a/tests/vmcheck/test-override-kernel.sh +++ b/tests/vmcheck/test-override-kernel.sh @@ -36,7 +36,7 @@ current=$(vm_get_booted_csum) vm_cmd rpm-ostree db list "${current}" > current-dblist.txt kernel_release=4.18.16-300.fc29.x86_64 assert_not_file_has_content current-dblist.txt $kernel_release -grep -E '^ kernel-4' current-dblist.txt | sed -e 's,^ *,,' > orig-kernel.txt +grep -E '^ kernel-5' current-dblist.txt | sed -e 's,^ *,,' > orig-kernel.txt assert_streq "$(wc -l < orig-kernel.txt)" "1" orig_kernel=$(cat orig-kernel.txt) URL_ROOT="https://dl.fedoraproject.org/pub/fedora/linux/releases/29/Everything/x86_64/os/Packages/k"