]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Add warrning when test script is started by normal user
authorJan Safranek <jsafrane@redhat.com>
Thu, 26 Mar 2009 14:04:36 +0000 (15:04 +0100)
committerJan Safranek <jsafrane@redhat.com>
Thu, 26 Mar 2009 14:04:36 +0000 (15:04 +0100)
commitb491ec4a847043c59798066e02701cfd435811f9
tree26a127e01acf2d69ba8d165e87855022d42086da
parent45290e6ea3889c0a970e11f16a22a3d8a546d15a
Add warrning when test script is started by normal user

The runlibcgrouptest.sh will now whine when script is started by non-root
user. Root permissions are needed to create directories and mount the cgroups
there.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
tests/runlibcgrouptest.sh