mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-28 14:22:27 +00:00
Don't check the 'connect' command in virsh-all test
The 'virsh-all' test case will invoke each virsh command with no args. With the 'connect' command this causes virsh to try to connect to the default URI, which in turn tries to spawn libvirtd. This is not something we want todo in the test suite, so skip the 'connect' command.
This commit is contained in:
parent
05e4e7b46e
commit
f9456b0160
@ -25,7 +25,7 @@ fail=0
|
|||||||
|
|
||||||
test_url=test:///default
|
test_url=test:///default
|
||||||
|
|
||||||
$abs_top_builddir/tools/virsh -c $test_url help > cmds || framework_failure
|
$abs_top_builddir/tools/virsh -c $test_url help | grep -v connect > cmds || framework_failure
|
||||||
cmds=$(sed -n 's/^ \([^ ][^ ]*\) .*/\1/p' cmds) || framework_failure
|
cmds=$(sed -n 's/^ \([^ ][^ ]*\) .*/\1/p' cmds) || framework_failure
|
||||||
test -n "$cmds" || framework_failure
|
test -n "$cmds" || framework_failure
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user