From: Michael Tremer Date: Tue, 9 Nov 2021 12:54:27 +0000 (+0000) Subject: test: Add more dependency test cases X-Git-Tag: 0.9.28~882 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=666674d972eb56af83db856773a76faa25267afb;p=pakfire.git test: Add more dependency test cases Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/dependencies.c b/tests/libpakfire/dependencies.c index 8d028f3b9..acb278e28 100644 --- a/tests/libpakfire/dependencies.c +++ b/tests/libpakfire/dependencies.c @@ -66,9 +66,13 @@ static const char* relations[] = { "pakfire(test)", // Rich dependencies + "(foo if bar else baz)", + "(foo if bar else baz >= 2)", "(foo >= 1.0 with foo < 2.0)", "(kernel with flavor = desktop)", "(beep or bash or kernel)", + "((pkg1 with feature2) or (pkg2 without feature1))", + "(foo or (bar and baz))", // Nested rich dependencies "(beep or (bash and kernel))",