mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/pkg/opam-package-with-files-install.t

16 lines
444 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
This test demonstrates a package where the .install file being created by the
file copying step rather than the build step.
$ . ./helpers.sh
$ mkdir -p dune.lock/foo.files
$ cat >dune.lock/lock.dune <<EOF
> (lang package 0.1)
> EOF
$ touch dune.lock/foo.files/foo.install
$ echo "(version 0.0.1)" > dune.lock/foo.pkg
The foo.install file in files/ should have been copied over.
$ build_pkg foo 2>&1 | sed 's/copyfile/open/'