summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-01-12 18:23:10 +0000
committerJim Meyering <meyering@redhat.com>2009-01-12 18:23:10 +0000
commitfe54138020177a50c8af57efc119e15fcd5afe8b (patch)
tree0bc18337cc01242ce42dbec06615a6d9754d600b /tests/virsh-all
parentdiagnose "libvirtd --config=no-such-file" (diff)
downloadlibvirt-fe54138020177a50c8af57efc119e15fcd5afe8b.tar.gz
libvirt-fe54138020177a50c8af57efc119e15fcd5afe8b.tar.bz2
libvirt-fe54138020177a50c8af57efc119e15fcd5afe8b.zip
tests: quiet virsh-all
* tests/virsh-all: For now, ignore diagnostics and exit status, when running all virsh commands.
Diffstat (limited to 'tests/virsh-all')
-rwxr-xr-xtests/virsh-all5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/virsh-all b/tests/virsh-all
index f1c84a3ef..03ea4668f 100755
--- a/tests/virsh-all
+++ b/tests/virsh-all
@@ -1,7 +1,7 @@
#!/bin/sh
# blindly run each and every command listed by "virsh help"
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -35,7 +35,8 @@ test -n "$cmds" || framework_failure
for i in $cmds; do
echo testing $i... 1>&2
- virsh -c $test_url $i < /dev/null
+ # For now, just run the command and ignore output and exit status.
+ virsh -c $test_url $i < /dev/null > /dev/null 2>&1
done
(exit $fail); exit $fail