Merge pull request #486 from vadorovsky/integration-smoke-fix-version-check

integration-test: Fix the kernel version chceck for smoke test
pull/491/head
Michal Rostecki 2 years ago committed by GitHub
commit e2b3be6b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,7 +19,7 @@ fn xdp() {
#[integration_test] #[integration_test]
fn extension() { fn extension() {
let (major, minor, _) = kernel_version().unwrap(); let (major, minor, _) = kernel_version().unwrap();
if major < 5 || minor < 9 { if major < 5 || (minor == 5 && minor < 9) {
info!( info!(
"skipping as {}.{} does not meet version requirement of 5.9", "skipping as {}.{} does not meet version requirement of 5.9",
major, minor major, minor

Loading…
Cancel
Save