]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
avoid a spurious test failure on non-numa systems
authorJim Meyering <meyering@redhat.com>
Fri, 12 Dec 2008 16:11:50 +0000 (16:11 +0000)
committerJim Meyering <meyering@redhat.com>
Fri, 12 Dec 2008 16:11:50 +0000 (16:11 +0000)
* tests/daemon-conf: Ignore a spurious libnuma warning.
Reported by Daniel Veillard.

ChangeLog
tests/daemon-conf

index 4f747b3d5c87e0559bc50e0f2491e640cfbdfc11..cb5b11daec5a883951c23691925b974bbb6224d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Dec 12 17:08:08 +0100 2008 Jim Meyering <meyering@redhat.com>
+
+       avoid a spurious test failure on non-numa systems
+       * tests/daemon-conf: Ignore a spurious libnuma warning.
+       Reported by Daniel Veillard.
+
 Fri Dec 12 14:57:17 CET 2008 Daniel Veillard <veillard@redhat.com>
 
        * Makefile.maint: fix tabs in C source error message based on
index 03189d5b872f7b1b84e11b70cba5a00318cdfcda..65a965500fab4c703784e25708d284e24ecfa6e2 100755 (executable)
@@ -56,8 +56,11 @@ while :; do
 
   test $i = $n && break
 
-  # Filter out this diagnostic.
-  sed '/^Cannot set group when not running as root$/d' err > k && mv k err
+  # Filter out some ignorable diagnostics.
+  sed \
+      -e '/^Cannot set group when not running as root$/d' \
+      -e '/^libnuma: Warning: .sys not mounted or no numa system/d' \
+    err > k && mv k err
 
   printf '%s\n\n' "remoteReadConfigFile: $f: $param_name: $msg" > expected-err
   diff -u expected-err err || fail=1