Skip to content

Commit

Permalink
Test to check that we ignore special files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgallego committed Sep 2, 2020
1 parent 0c1fa0d commit f64bd89
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/special_files.t/bar.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let _ = L.P.do_print ()
3 changes: 3 additions & 0 deletions test/blackbox-tests/test-cases/special_files.t/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(executable
(name bar)
(libraries l))
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 2.7)
5 changes: 5 additions & 0 deletions test/blackbox-tests/test-cases/special_files.t/run.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ mkfifo src/foo
$ dune build @all
$ _build/default/bar.exe
hi!
$ rm -f src/foo
2 changes: 2 additions & 0 deletions test/blackbox-tests/test-cases/special_files.t/src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(library
(name l))
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/special_files.t/src/p.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let do_print () = Format.printf "hi!@\n%!"

0 comments on commit f64bd89

Please sign in to comment.