Skip to content

Commit 348e93a

Browse files
author
David Scott
committed
test: create /tmp/xenvm.d at the beginning
Signed-off-by: David Scott <[email protected]>
1 parent e23f67c commit 348e93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ let xenvmd_suite = "Commands which require xenvmd" >::: [
159159
]
160160

161161
let _ =
162+
mkdir_rec "/tmp/xenvm.d" 0o0755;
162163
run_test_tt_main no_xenvmd_suite |> ignore;
163164
with_temp_file (fun filename' ->
164165
with_loop_device filename' (fun loop ->
165166
xenvm [ "vgcreate"; vg; loop ] |> ignore_string;
166-
mkdir_rec "/tmp/xenvm.d" 0o0755;
167167
xenvm [ "set-vg-info"; "--pvpath"; loop; "-S"; "/tmp/xenvmd"; vg; "--local-allocator-path"; "/tmp/xenvm-local-allocator"; "--uri"; "file://local/services/xenvmd/"^vg ] |> ignore_string;
168168
file_of_string "test.xenvmd.conf" ("( (listenPort ()) (listenPath (Some \"/tmp/xenvmd\")) (host_allocation_quantum 128) (host_low_water_mark 8) (vg "^vg^") (devices ("^loop^")))");
169169
xenvmd [ "--config"; "./test.xenvmd.conf"; "--daemon" ] |> ignore_string;

0 commit comments

Comments
 (0)