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,23 @@
$ . ../git-helpers.sh
dune subst should not fail when encountering broken symlinks.
See #9593.
$ cat > dune-project << EOF
> (lang dune 1.0)
> (name proj)
> (package
> (name proj))
> EOF
$ ln -s nonexistent broken
This test requires a git repository, otherwise `dune subst` does nothing.
$ git init -q
$ git add dune-project broken
$ git commit -m create |grep -v root-commit
2 files changed, 5 insertions(+)
create mode 120000 broken
create mode 100644 dune-project
$ dune subst