Verified Commit 758e26d9 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

WIP

parent 73bc26bf
Pipeline #72706 failed with stages
in 3 minutes and 31 seconds
......@@ -1472,6 +1472,12 @@ function test_filter_required()
pkg7 = {
Version = "7",
LinkSignature = "xxxx"
},
pkg8 = {
Version = "8",
Depends = "xxx (= 0.0.0)",
Conflicts = "xxx (= 0.0.0)",
Provides = "xxx (= 0.0.0)"
}
}
local requests = {
......@@ -1532,6 +1538,19 @@ function test_filter_required()
critical = false,
modifier = {}
},
{
-- Installed with differently formated dependency, conflict and provides
action = "require",
name = "pkg8",
package = {
Version = "8",
Depends = "xxx (=0.0.0)",
Conflicts = "xxx (=0.0.0)",
repo = def_repo
},
critical = false,
modifier = {}
},
}
local result = planner.filter_required(status, requests, true)
local expected = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment