]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
test: Add more dependency test cases
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Nov 2021 12:54:27 +0000 (12:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Nov 2021 12:54:27 +0000 (12:54 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/dependencies.c

index 8d028f3b90586c901ce598249249f75d74ec82e4..acb278e28ea38c71de25d95074518e840c03e912 100644 (file)
@@ -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))",