aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-08-07 11:09:15 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-08-07 11:59:08 +0100
commitf9456b0160d5c93859a934696502f59627f5ddcf (patch)
tree2aebbbba07d32d14bef5f13d08e1f338cc0b93e3 /tests
parentTurn virNetClient* into virObject instances (diff)
downloadlibvirt-f9456b0160d5c93859a934696502f59627f5ddcf.tar.gz
libvirt-f9456b0160d5c93859a934696502f59627f5ddcf.tar.bz2
libvirt-f9456b0160d5c93859a934696502f59627f5ddcf.zip
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/virsh-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/virsh-all b/tests/virsh-all
index 2650b86c5..d4e2633db 100755
--- a/tests/virsh-all
+++ b/tests/virsh-all
@@ -25,7 +25,7 @@ fail=0
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
test -n "$cmds" || framework_failure