This file is indexed.

/usr/share/cgmanager/tests/test15.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
23
24
#!/bin/bash

ret=0
echo "Test 14 (nrtasks)"

cgm create memory xxx/c

sleep 200 &
pid=$!

cgm movepid memory xxx/c $pid

result=`cgm gettasks memory xxx/c`

if [ "$result" != "$pid" ]; then
	echo "result is $result not $pid"
	ret=1
fi

kill -9 $pid 2>&1 > /dev/null

cgm remove memory xxx/c

exit $ret