search for: a33ce47

Displaying 1 result from an estimated 1 matches for "a33ce47".

2020 Sep 22
3
[libnbd PATCH v2] nbdsh: Catch nbd.Error from -c arguments
...aceback.print_exc() else: - exec(sys.stdin.read(), d, d) + print("nbdsh: command line script failed: %s" % ex.string, + file=sys.stderr) + sys.exit(1) diff --git a/sh/test-error.sh b/sh/test-error.sh index c6ab474..a33ce47 100755 --- a/sh/test-error.sh +++ b/sh/test-error.sh @@ -40,6 +40,27 @@ nbdsh -u 'nbd+unix:///?socket=/nosuchsock' >$out 2>$err && fail=1 test ! -s $out cat $err grep Traceback $err && fail=1 -grep '^nbdsh: unable to connect to uri.*nosuchsock' test-error.er...