This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,5 @@
(rule (with-stdout-to x.gen (echo "")))
(rule
(alias blah-non-existent)
(action (diff x-non-existent x.gen)))

View file

@ -0,0 +1,15 @@
Tests for promoting with non existent reference
-----------------------------------------------
# Diffing should do as if it is an empty file
$ cat x-non-existent
cat: x-non-existent: No such file or directory
[1]
$ dune build @blah-non-existent
$ dune promote
$ cat x-non-existent
cat: x-non-existent: No such file or directory
[1]