summaryrefslogtreecommitdiff
path: root/test/integration/test-explore-or-groups-in-markinstall
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-26 08:24:39 +0100
committerJulian Andres Klode <jak@debian.org>2025-10-26 08:28:08 +0100
commit5e8e69cdd6b512480f3208298725e1e44c80f06e (patch)
tree56b4eb2cf24b56683b0f7ca83b831a71aa7acd6a /test/integration/test-explore-or-groups-in-markinstall
parent1da5869dbf2b903e8b46a26225340c5b9615ede1 (diff)
Adjust test cases to treat 3.0 as default APT_SOLVER if not set
Not needed so far because we export a default 3.0 APT_SOLVER, but quite useful if we stop doing so (next commit).
Diffstat (limited to 'test/integration/test-explore-or-groups-in-markinstall')
-rwxr-xr-xtest/integration/test-explore-or-groups-in-markinstall6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/test-explore-or-groups-in-markinstall b/test/integration/test-explore-or-groups-in-markinstall
index 60de59193..77f769e77 100755
--- a/test/integration/test-explore-or-groups-in-markinstall
+++ b/test/integration/test-explore-or-groups-in-markinstall
@@ -95,7 +95,7 @@ The following NEW packages will be installed:
}
checkfoos 'd' 'Depends'
# FIXME? The 3.0 solver solves Recommends after Depends, so they do not influence our decisions here.
-[ "$APT_SOLVER" = "3.0" ] || checkfoos 'r' 'Recommends'
+[ "$APT_SOLVER" != "internal" ] || checkfoos 'r' 'Recommends'
testsuccessequal 'Reading package lists...
Building dependency tree...
@@ -129,9 +129,9 @@ if $TEST_WITH_APTITUDE; then
Need to get 0 B/84 B of archives. After unpacking 86.0 kB will be used.
Would download/install/remove packages.'
testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-d-level2 -sy
- [ "$APT_SOLVER" = "3.0" ] || testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-r-level2 -sy # FIXME: See above for 3.0
+ [ "$APT_SOLVER" != "internal" ] || testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-r-level2 -sy # FIXME: See above for 3.0
testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-d-conflict -sy
- [ "$APT_SOLVER" = "3.0" ] || testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-r-conflict -sy # FIXME: See above for 3.0
+ [ "$APT_SOLVER" != "internal" ] || testsuccesstailequal 3 "$OKAYAPTITUDE" aptitude install foo-r-conflict -sy # FIXME: See above for 3.0
fi
BADSOLVETEXT='Reading package lists...