mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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:
@@ -0,0 +1,5 @@
|
||||
test:///default?good_uri
|
||||
|
||||
|
||||
test:///default?good_uri
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
test:///default?good_uri
|
||||
|
||||
|
||||
test:///default?good_uri
|
||||
|
||||
5
tests/virshtestdata/uriprecedence-param.out
Normal file
5
tests/virshtestdata/uriprecedence-param.out
Normal file
@@ -0,0 +1,5 @@
|
||||
test:///default?good_uri
|
||||
|
||||
|
||||
test:///default?good_uri
|
||||
|
||||
5
tests/virshtestdata/uriprecedence-xdg-config.out
Normal file
5
tests/virshtestdata/uriprecedence-xdg-config.out
Normal file
@@ -0,0 +1,5 @@
|
||||
test:///default?good_uri
|
||||
|
||||
|
||||
test:///default?good_uri
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
uri_default="test:///default?bad_uri"
|
||||
@@ -0,0 +1 @@
|
||||
uri_default="test:///default?good_uri"
|
||||
Reference in New Issue
Block a user