From fe54138020177a50c8af57efc119e15fcd5afe8b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 12 Jan 2009 18:23:10 +0000 Subject: [PATCH] tests: quiet virsh-all * tests/virsh-all: For now, ignore diagnostics and exit status, when running all virsh commands. --- ChangeLog | 6 ++++++ tests/virsh-all | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b52037474a..e553bacc88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Jan 12 18:55:16 +0100 2009 Jim Meyering + + 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 diagnose "libvirtd --config=no-such-file" diff --git a/tests/virsh-all b/tests/virsh-all index f1c84a3ef4..03ea4668f5 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