mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/action-modifying-a-dependency.t/run.t

21 lines
457 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
In this test the "x" alias depends on the file "data" but the action
associated to "x" appends a line to "data". The expected behavior is
an error from Dune telling the user that this is not allowed, however
Dune currently silently ignores this.
$ echo hello > data
$ dune build @x
$ cat _build/default/data
hello
hello
$ dune build @x
$ cat _build/default/data
hello
hello
$ dune build @x
$ cat _build/default/data
hello
hello