1
From 1272e278a5b83de5e21c53ed0ea8aeb2e46daebb Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@ubuntu.com>
3
Date: Mon, 16 Feb 2015 23:42:33 -0500
4
Subject: Fix test_proc following the stat fix
6
Content-Type: text/plain; charset=UTF-8
7
Content-Transfer-Encoding: 8bit
9
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
11
tests/test_proc | 2 +-
12
1 file changed, 1 insertion(+), 1 deletion(-)
14
diff --git a/tests/test_proc b/tests/test_proc
15
index 0c42892..4ed47d7 100755
18
@@ -28,7 +28,7 @@ cgm setvalue cpuset $(cgm getpidcgroupabs cpuset $$) \
19
grep -q "^processor.*0$" /var/lib/lxcfs/proc/cpuinfo
22
-[ "$(grep "^cpu" /var/lib/lxcfs/proc/stat | wc -l)" = "1" ]
23
+[ "$(grep "^cpu" /var/lib/lxcfs/proc/stat | wc -l)" = "2" ]
26
grep -q "^MemTotal.*1024 kB$" /var/lib/lxcfs/proc/meminfo