Skip to content

Commit

Permalink
adding more debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
quicquid committed Dec 8, 2017
1 parent ca8dbea commit dacae3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/params.ml
Expand Up @@ -81,7 +81,9 @@ let get_exec e =
| Unchecked (exec, cmd, vers) ->
let tod = Unix.gettimeofday () |> int_of_float in
let r = 10000 + (Random.int 10000) in
let stat = sprintf "%s stat `which %s` >/tmp/stat-%d-%d.txt" path_prefix exec tod r in
let stat = sprintf "echo path prefix: \"%s\" ; %s stat `which %s` >/tmp/stat-%d-%d.txt"
path_prefix path_prefix exec tod r in

ignore (Sys.command stat);
let check = sprintf "%s type %s >/tmp/check-%d-%d.txt" path_prefix exec tod r in
eprintf "probing command: %s\n" check;
Expand Down

0 comments on commit dacae3f

Please sign in to comment.