Re: [PATCHv3 09/10] Fix misspelled cpuacct.usage_percpu in cgroup mock.

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

 



On 03.02.2014 18:44, Thorsten Behrens wrote:
---

Turned out during test writing, when this was actually used the
first time.

  tests/vircgroupmock.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vircgroupmock.c b/tests/vircgroupmock.c
index d772652..84bb1b0 100644
--- a/tests/vircgroupmock.c
+++ b/tests/vircgroupmock.c
@@ -214,7 +214,7 @@ static int make_controller(const char *path, mode_t mode)
                    "user 216687025\n"
                    "system 43421396\n");
          MAKE_FILE("cpuacct.usage", "2787788855799582\n");
-        MAKE_FILE("cpuacct.usage_per_cpu", "1413142688153030 1374646168910542\n");
+        MAKE_FILE("cpuacct.usage_percpu", "1413142688153030 1374646168910542\n");
      } else if (STRPREFIX(controller, "cpuset")) {
          MAKE_FILE("cpuset.cpu_exclusive", "1\n");
          if (STREQ(controller, "cpuset"))


ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]