[Libguestfs] [libnbd PATCH v2 05/12] tests: Language port of nbd_set_request_meta_context() tests

Laszlo Ersek lersek at redhat.com
Fri Sep 9 04:54:53 UTC 2022


On 08/31/22 16:39, Eric Blake wrote:
> As promised in the previous patch, also test the new
> nbd_set_request_meta_context() API in Python, OCaml, and Golang.  No
> direct C counterpart in tests/, but it's always good to check that our
> language bindings are complete.
> ---
>  python/t/110-defaults.py                   |  1 +
>  python/t/120-set-non-defaults.py           |  2 +
>  python/t/230-opt-info.py                   | 25 +++++-
>  ocaml/tests/test_110_defaults.ml           |  2 +
>  ocaml/tests/test_120_set_non_defaults.ml   |  3 +
>  ocaml/tests/test_230_opt_info.ml           | 32 +++++++-
>  golang/libnbd_110_defaults_test.go         |  8 ++
>  golang/libnbd_120_set_non_defaults_test.go | 12 +++
>  golang/libnbd_230_opt_info_test.go         | 88 ++++++++++++++++++++--
>  9 files changed, 161 insertions(+), 12 deletions(-)

Acked-by: Laszlo Ersek <lersek at redhat.com>



More information about the Libguestfs mailing list