fix(scan): a bug of kernel Vulns detection on Ubuntu18 (#818)

* fix(scan): a bug of kernel Vulns detection on Ubuntu18

* fix the test case
This commit is contained in:
Kota Kanbe
2019-05-23 17:00:33 +09:00
committed by GitHub
parent e750bd53fc
commit 276363e793
4 changed files with 114 additions and 7 deletions

View File

@@ -285,7 +285,7 @@ func TestIsOvalDefAffected(t *testing.T) {
},
},
affected: true,
notFixedYet: true,
notFixedYet: false,
},
// 4. Ubuntu
// ovalpack.NotFixedYet == false
@@ -371,7 +371,7 @@ func TestIsOvalDefAffected(t *testing.T) {
},
},
affected: true,
notFixedYet: true,
notFixedYet: false,
},
// 7 RedHat
{
@@ -450,7 +450,7 @@ func TestIsOvalDefAffected(t *testing.T) {
},
},
affected: true,
notFixedYet: true,
notFixedYet: false,
},
// 10 RedHat
{