Exercise the behaviour of "dune tools exec ocamllsp" when the lockdir doesn't contain a lockfile for the "ocaml" package. $ cat > dune-project < (lang dune 3.16) > > (package > (name foo) > (allow_empty)) > EOF $ make_lockdir $ dune tools exec ocamllsp Error: The lockdir doesn't contain a lockfile for the package "ocaml". Hint: Add a dependency on "ocaml" to one of the packages in dune-project and then run 'dune pkg lock' [1]