Hi!
> For util-linux version above v2.21(eg, Red Hat Enterprise Linux 7.0, 
> util-linux v2.23.2),
> some tests in run_cgroup_test_fj.sh will test failed.
> eg:
>         cgroup_test_fj    1  TFAIL  :  case13(function  2 1 1 2 1 2 3 2 1)    
> FAIL
> 
> The reason is that mount version above v2.21 will cause mount error in the 
> following scenes:
>         (mount from util-linux 2.23.2)
>         mkdir /dev/cgroup
>         mount -t cgroup -o cpuset,release_agent=  cgroup /dev/cgroup
> 
>         error output:
>         mount: special device cgroup does not exist
> While, for mount version v2.19.1(eg, SLES 11 sp2, mount from util-linux 
> 2.19.1 )
>         mount will success like this:
>         cgroup on /dev/cgroup type cgroup (rw,cpuset,release_agent=)

The empty release agent seems to be specially crafted testcase. The
function get_release_agent_para() has special case to set it to " ".

So if this test fails, either util-linux is broken or the test assertion
is wrong (it worked by accident) and should be removed. Either way this
needs more investigation.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to