Add test for symlinking outside workspace

This commit is contained in:
Rudi Grinberg 2018-05-15 19:42:33 +07:00
parent ac078fcdbb
commit 241ec87a2b
3 changed files with 4 additions and 0 deletions

View File

@ -3,3 +3,4 @@
[1]
$ mkdir -p c2 && cd c2 && ln -s x ../../ && jbuilder build
$ mkdir -p c3 && cd c3 && ln -s x y && ln -s y x && jbuilder build
$ cd symlink-outside-root && ln -s ../sample-exe sample && jbuilder exec --root . -- sample/foo.exe

View File

@ -0,0 +1,2 @@
(executable
((name foo)))

View File

@ -0,0 +1 @@
let () = print_endline "foo"