As a result of previous commits, we can now modify this test to use
"$uri", since it will include the tls-certificates parameter.

We cannot update tests/test-tls-psk.sh in the same way as we still
don't set the username in the generated URI.
---
 tests/test-tls.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-tls.sh b/tests/test-tls.sh
index 4abe1f36c9..d70fe0c97c 100755
--- a/tests/test-tls.sh
+++ b/tests/test-tls.sh
@@ -70,7 +70,7 @@ nbdkit --tls=require --tls-certificates="$pkidir" 
--tls-verify-peer \
        example1 \
        --run '
        # Run nbdinfo against the server.
-       nbdinfo "nbds+unix://qemu@/?socket=$unixsocket&tls-certificates=$pkidir"
+       nbdinfo "$uri"
        ' > $out
 
 cat $out
-- 
2.44.0
_______________________________________________
Libguestfs mailing list -- guestfs@lists.libguestfs.org
To unsubscribe send an email to guestfs-le...@lists.libguestfs.org

Reply via email to