]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: generic/273: do not use /proc/cpuinfo
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Wed, 23 Oct 2013 11:58:44 +0000 (11:58 +0000)
committerRich Johnston <rjohnston@sgi.com>
Wed, 23 Oct 2013 23:57:14 +0000 (18:57 -0500)
commitfd080d64b6e9677cb9d0a15dc7e308b6ca0e273f
treea937532bd5b3702ca3abf54922fcf9366da045c5
parentfe8a159300c9fe9fb2e81320068fe78eb106f846
xfstests: generic/273: do not use /proc/cpuinfo

The content of /proc/cpuinfo file is platform-dependent.
So we can not use it reliably to check a number of available cpus.
It would be better to use sysfs interface, as _no_of_online_cpus() does.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/273