Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
  • Loading branch information
nojb committed Jul 21, 2020
1 parent 7d9c5a3 commit f4dc014
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/blackbox-tests/test-cases/copy_files.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,19 @@ Test (alias ...) and (mode ...) fields:

$ cat test3/foo.txt
Foo

Test external paths:

$ mkdir -p test4
$ cat >test4/dune-project <<EOF
> (lang dune 2.7)
> EOF
$ P=$(mktemp)
$ echo Hola > $P
$ cat >test4/dune <<EOF
> (copy_files $P)
> EOF
$ dune build --root test4 $(basename $P)
Entering directory 'test4'
$ cat test4/_build/default/$(basename $P)
Hola

0 comments on commit f4dc014

Please sign in to comment.