]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: generic/273: use src/feature -o
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Mon, 11 Nov 2013 09:34:54 +0000 (09:34 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 11 Nov 2013 15:04:44 +0000 (09:04 -0600)
Due to partially committed series (fd080d64b6e9677cb9d0a15dc7e308b6ca0e273f)
generic/273 test uses '_no_of_online_cpus' function which is not defined.

Now it's safe to switch it to 'src/feature -o'.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/273

index c0284383443f0e34723892874205ae52465c207f..ab04dfa34c94d700440f83ef1ba36dbd2b166eb7 100755 (executable)
@@ -47,7 +47,7 @@ count=2
 
 _threads_set()
 {
-       _cpu_num=`_no_of_online_cpus`
+       _cpu_num=`$here/src/feature -o`
        threads=$(($_cpu_num * 50))
        if [ $threads -gt 200 ]
        then