tests: quiet virsh-all

* tests/virsh-all: For now, ignore diagnostics and exit status,
when running all virsh commands.
This commit is contained in:
Jim Meyering 2009-01-12 18:23:10 +00:00
parent 6954d44e53
commit fe54138020
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>
tests: quiet virsh-all
* tests/virsh-all: For now, ignore diagnostics and exit status,
when running all virsh commands.
Mon Jan 12 18:55:16 +0100 2009 Jim Meyering <meyering@redhat.com>
diagnose "libvirtd --config=no-such-file"

View File

@ -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