Displaying 2 results from an estimated 2 matches for "test_read_out".
2017 Mar 07
0
[PATCH v4 5/9] builder: add Index_parser.write_entry function
...~gpgkey:Utils.No_Key
+ ~tmpdir
+
+(* Utils. *)
+let assert_equal_string = assert_equal ~printer:(fun x -> sprintf "\"%s\"" x)
+
+let test_open_out () =
+ open_out (tmpdir // "out")
+
+let test_read_out chan =
+ close_out chan;
+ read_whole_file (tmpdir // "out")
+
+let test_write_complete ctx =
+ let entry =
+ ("test-id", { Index.printable_name = Some "test_name";
+ osinfo = Some "osinfo_data";
+ file_uri = "test/path";
+...
2017 Mar 07
15
[PATCH v4 0/9] Introducing virt-builder-repository
Hi all,
Here is a v4 of my series. It includes the changes according to
Pino and Richard's comments.
However, the perrorf/debug problem is addressed differently:
instead of adding an implementation for the internal function
names when building for mllib, I redefine these macros. Obviously
this is not perfect, but at least easier to understand.
Pino's comment about the Notes regex