]> xenbits.xensource.com Git - libvirt.git/commitdiff
avoid two test failures induced by today's error-reporting changes
authorJim Meyering <meyering@redhat.com>
Mon, 9 Feb 2009 15:31:34 +0000 (15:31 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Feb 2009 15:31:34 +0000 (15:31 +0000)
* tests/cpuset: Adjust expected diagnostic to match new behavior.
* tests/undefine: Likewise.

ChangeLog
tests/cpuset
tests/undefine

index 413d21629ab93eb95c1929348fa225ff27ef44a1..c537ced63e7d33b40c810f99ea650b37925d261f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Feb 9 16:25:52 +0100 2009 Jim Meyering <meyering@redhat.com>
+
+       avoid two test failures induced by today's error-reporting changes
+       * tests/cpuset: Adjust expected diagnostic to match new behavior.
+       * tests/undefine: Likewise.
+
 Mon Feb  9 14:19:02 GMT 2009 John Levon <john.levon@sun.com>
 
        * src/virsh.c: rather than verbosely printing every error, save
index 75303e37e0ab58fc9332c38dd1c34e2c54f94cf8..eeb0ee269caf962658bebc8c3a2876021bc54eee 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # ensure that defining with an invalid vCPU cpuset elicits a diagnostic
 
-# 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
@@ -36,8 +36,8 @@ sed "s/vcpu>/vcpu cpuset='aaa'>/" xml > xml-invalid || fail=1
 # Require failure and a diagnostic.
 virsh --connect test:///default define xml-invalid > out 2>&1 && fail=1
 cat <<\EOF > exp || fail=1
-libvir: Domain Config error : failed Xen syscall topology cpuset syntax error
 error: Failed to define domain from xml-invalid
+error: failed Xen syscall topology cpuset syntax error
 
 EOF
 compare exp out || fail=1
index 48e835681e1657255e192c14405a68ef68a2d228..fafdae72a8b54c29158b12eea54c01b807b3a69c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # exercise virsh's "undefine" command
 
-# 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
@@ -29,8 +29,8 @@ fail=0
 virsh -q -c test:///default undefine test > out 2>&1
 test $? = 1 || fail=1
 cat <<\EOF > exp || fail=1
-libvir: Test error : internal error Domain 'test' is still running
 error: Failed to undefine domain test
+error: internal error Domain 'test' is still running
 EOF
 compare exp out || fail=1