mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
tests: quiet virsh-all
* tests/virsh-all: For now, ignore diagnostics and exit status, when running all virsh commands.
This commit is contained in:
parent
6954d44e53
commit
fe54138020
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user