search for: xokay

Displaying 2 results from an estimated 2 matches for "xokay".

Did you mean: okay
2020 Sep 28
2
[libnbd PATCH] nbdsh: Add --opt-mode command line option
...text is too late with -u +output=$(nbdkit -U - null --run 'nbdsh -c " +try: + h.add_meta_context(nbd.CONTEXT_BASE_ALLOCATION) + assert(False) +except nbd.Error: + print(\"okay\") +" -u "nbd+unix://?socket=$unixsocket"') +if test "x$output" != xokay; then + echo "$0: unexpected output: $output" + fail=1 +fi + # With --base-allocation (and a server that supports it), meta context works. output=$(nbdkit -U - null --run 'nbdsh \ --base-allocation --uri "nbd+unix://?socket=$unixsocket" \ @@ -62,4 +75,21 @@ else...
2022 Nov 04
3
[libnbd PATCH v2 0/3] Improve nbdsh -u handling
v1 was here: https://listman.redhat.com/archives/libguestfs/2022-October/030216.html Since then, I've incorporated changes based on Rich's feedback: swap order of patches 2 and 3 less change in patch 1 (including no unsafe eval(%s) for --uri) in patch 2, include -c in list of snippets to store, and use dict of lambdas to map back to the desired action Eric Blake (3): nbdsh: