Test that the `glob_files` terms are only accepted in the `files` field and not in the `dirs` field $ cat >dune-project < (lang dune 3.6) > (package (name foo)) > EOF $ cat >dune < (install > (dirs (glob_files *)) > (section share)) > EOF $ dune build @install File "dune", line 2, characters 7-21: 2 | (dirs (glob_files *)) ^^^^^^^^^^^^^^ Error: Invalid format, or ( as ) expected [1] $ cat >dune < (install > (dirs (glob_files_rec *)) > (section share)) > EOF $ dune build @install File "dune", line 2, characters 7-25: 2 | (dirs (glob_files_rec *)) ^^^^^^^^^^^^^^^^^^ Error: Invalid format, or ( as ) expected [1]