Skip to content

Commit

Permalink
fix(ci): use $TMPDIR instead of hardcoding /tmp in ocaml/libs/vhd
Browse files Browse the repository at this point in the history
Signed-off-by: Edwin Török <[email protected]>
  • Loading branch information
edwintorok committed Feb 2, 2024
1 parent fe5d334 commit 689420f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocaml/libs/vhd/vhd_format_lwt_test/parse_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let diff () =
let _ = Diff_vhd.disk in
()

let tmp_file_dir = "/tmp"
let tmp_file_dir = Filename.get_temp_dir_name ()

let disk_name_stem = tmp_file_dir ^ "/parse_test."

Expand Down
2 changes: 1 addition & 1 deletion ocaml/libs/vhd/vhd_format_lwt_test/patterns_lwt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module Memory = struct
Cstruct.sub pages 0 bytes
end

let disk_name_stem = "/tmp/dynamic."
let disk_name_stem = Filename.get_temp_dir_name () ^ "/dynamic."

let disk_suffix = ".vhd"

Expand Down

0 comments on commit 689420f

Please sign in to comment.