let dir = Sys.argv.(1)

let write f =
  let path = Filename.concat dir f in
  let out = open_out path in
  output_string out (f ^ " contents\n");
  close_out_noerr out

let () =
  Unix.mkdir dir 0o777;
  write "foo";
  write "bar"

let () = Printexc.record_backtrace false

let dir = Sys.argv.(1)

let write f =
  let path = Filename.concat dir f in
  let out = open_out path in
  output_string out (f ^ " contents\n");
  close_out_noerr out

let () =
  Unix.mkdir dir 0o777;
  write "foo";
  write "bar"

Make the dir-target-dep test more reproducible
Make the dir-target-dep test more reproducible

Signed-off-by: Jeremie Dimino <aa5d8c8bb73d4465608582ffc8dcd3cb76639f53@dimino.org>
