mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/promote/non-existent-subdir.t

16 lines
325 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Test of a rule that tries to promote to a source directory that doesn't exist.
Taken from #3502
$ cat >dune-project <<EOF
> (lang dune 3.4)
> EOF
$ cat >dune <<EOF
> (subdir x
> (rule
> (mode (promote (until-clean)))
> (action (with-stdout-to y (echo "z")))))
> EOF
$ dune build x/y
$ cat x/y
z