]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - tests/test_proc
Fix test_proc following the stat fix
[mirror_lxcfs.git] / tests / test_proc
index 0c428923beac759016e191bf8e1a84811c08472d..4ed47d73a6b586afe1dbf33541615e0ea44435ec 100755 (executable)
@@ -28,7 +28,7 @@ cgm setvalue cpuset $(cgm getpidcgroupabs cpuset $$) \
 grep -q "^processor.*0$" /var/lib/lxcfs/proc/cpuinfo
 
 # Test stat
-[ "$(grep "^cpu" /var/lib/lxcfs/proc/stat | wc -l)" = "1" ]
+[ "$(grep "^cpu" /var/lib/lxcfs/proc/stat | wc -l)" = "2" ]
 
 # Test meminfo
 grep -q "^MemTotal.*1024 kB$" /var/lib/lxcfs/proc/meminfo