/usr/share/cgmanager/tests/test27.sh is in cgmanager-tests 0.39-2ubuntu5.
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 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/bash
echo "Test 27: getvalue of siblings"
cgm remove memory sibling || true
cgm remove memory sibling1 || true
sleep 1
cur=`cgm getpidcgroupabs memory $$`
cgm create memory sibling
cgm create memory sibling1
cgm movepid memory sibling $$
failed=0
cgm getvalue memory ${cur}/sibling1 memory.limit_in_bytes && failed=1 || true
if [ $failed -eq 1 ]; then
echo "Fail: able to read sibling values"
exit 1
fi
echo PASS
|