[libvirt PATCH 1/3] cpu-gather: Remove redundant "processor" from CPU data file names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 tests/cputestdata/cpu-gather.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cputestdata/cpu-gather.py b/tests/cputestdata/cpu-gather.py
index f679fb9066..b8c1f23c82 100755
--- a/tests/cputestdata/cpu-gather.py
+++ b/tests/cputestdata/cpu-gather.py
@@ -237,7 +237,7 @@ def parse_filename(data):
     filename = re.sub("\\(([Rr]|[Tt][Mm])\\)", "", filename)
     filename = re.sub(".*(Intel|AMD) ", "", filename)
     filename = re.sub(" (Duo|Quad|II X[0-9]+)", " ", filename)
-    filename = re.sub(" (CPU|Processor)", "", filename)
+    filename = re.sub(" (CPU|[Pp]rocessor)", "", filename)
     filename = re.sub(" @.*", "", filename)
     filename = re.sub(" APU .*", "", filename)
     filename = re.sub(" SE$", "", filename)
-- 
2.30.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux