virshtest: Adapt virsh-uriprecedence test case

Reimplement the virsh-uriprecedence test case in virshtest. To do this
we need to add infrastructure to pass extra environment variables to the
tested virsh.

The user config files are shipped in repo rather than created in the
script.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa
2024-03-22 16:23:57 +01:00
parent e57ce7fb45
commit 1f82833251
9 changed files with 140 additions and 106 deletions

View File

@@ -0,0 +1,5 @@
test:///default?good_uri
test:///default?good_uri

View File

@@ -0,0 +1,5 @@
test:///default?good_uri
test:///default?good_uri

View File

@@ -0,0 +1,5 @@
test:///default?good_uri
test:///default?good_uri

View File

@@ -0,0 +1,5 @@
test:///default?good_uri
test:///default?good_uri

View File

@@ -0,0 +1 @@
uri_default="test:///default?bad_uri"

View File

@@ -0,0 +1 @@
uri_default="test:///default?good_uri"