mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/pkg/opam-package-cycle.t
2025-11-11 02:07:51 +01:00

32 lines
502 B
Perl

Testing how the solver handles cycles in an opam repository.
$ . ./helpers.sh
$ mkrepo
$ mkpkg a <<'EOF'
> depends: [ "b" ]
> EOF
$ mkpkg b <<'EOF'
> depends: [ "c" ]
> EOF
$ mkpkg c <<'EOF'
> depends: [ "a" ]
> EOF
Solver doesn't complain about cycles.
$ solve a
Solution for dune.lock:
- a.0.0.1
- b.0.0.1
- c.0.0.1
$ solve b
Solution for dune.lock:
- a.0.0.1
- b.0.0.1
- c.0.0.1
$ solve c
Solution for dune.lock:
- a.0.0.1
- b.0.0.1
- c.0.0.1