/usr/share/cgmanager/tests/test26.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 | #!/bin/bash
echo "Test 25: listkeys"
cgm remove memory listkeys1 || true
sleep 1
cgm create memory listkeys1
cgm chown memory listkeys1 100000 100000
output=$(cgm listkeys memory listkeys1)
id1=$(echo "$output" | awk '/^tasks/ { print $2 }')
if [ "$id1" != "100000" ]; then
echo "Bad listkeys output"
exit 1
fi
echo PASS
|