/usr/share/cgmanager/tests/test01.sh is in cgmanager-tests 0.24-0ubuntu5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #!/bin/bash
echo "Test 1: getValue"
dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.GetValue string:'memory' string:'' string:'memory.usage_in_bytes' > /dev/null 2>&1
if [ $? -ne 0 ]; then
exit 1
fi
exit 0
|