]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: quiet virsh-all
authorJim Meyering <meyering@redhat.com>
Mon, 12 Jan 2009 18:23:10 +0000 (18:23 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 12 Jan 2009 18:23:10 +0000 (18:23 +0000)
* tests/virsh-all: For now, ignore diagnostics and exit status,
when running all virsh commands.

ChangeLog
tests/virsh-all

index b52037474ad3807632050587a8930f81f0530691..e553bacc880acbf0f7577afa260d22f8479bb9c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"
index f1c84a3ef483f0606bc935ea4884bfea67990fba..03ea4668f55c3dc5c72fdff67b36c0f9f77dcd1b 100755 (executable)
@@ -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