aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_blockers_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/resolver_TEST_blockers_setup.sh')
-rwxr-xr-xpaludis/resolver/resolver_TEST_blockers_setup.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/paludis/resolver/resolver_TEST_blockers_setup.sh b/paludis/resolver/resolver_TEST_blockers_setup.sh
index c15901168..47e8c3022 100755
--- a/paludis/resolver/resolver_TEST_blockers_setup.sh
+++ b/paludis/resolver/resolver_TEST_blockers_setup.sh
@@ -293,5 +293,31 @@ SLOT="0"
DEPENDENCIES=""
END
+# other-slot-first
+echo 'other-slot-first' >> metadata/categories.conf
+
+mkdir -p 'packages/other-slot-first/target'
+cat <<END > packages/other-slot-first/target/target-1.exheres-0
+SUMMARY="target"
+PLATFORMS="test"
+SLOT="0"
+DEPENDENCIES="other-slot-first/dep:1 other-slot-first/dep:2"
+END
+
+mkdir -p 'packages/other-slot-first/dep'
+cat <<END > packages/other-slot-first/dep/dep-1.1.exheres-0
+SUMMARY="target"
+PLATFORMS="test"
+SLOT="1"
+DEPENDENCIES=""
+END
+
+cat <<END > packages/other-slot-first/dep/dep-2.exheres-0
+SUMMARY="target"
+PLATFORMS="test"
+SLOT="2"
+DEPENDENCIES="!other-slot-first/dep[<1.1]"
+END
+
cd ..