/var/lib/pcp/testsuite/gluster/test.sh is in pcp-testsuite 3.8.12ubuntu1.
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 | #!/bin/sh
command="$1"
shift
case "$command"
in
info|stats)
testcase="$1"
cat $GLUSTER_HOME/$testcase
;;
start|stop)
volume="$1"
sequence="$2"
filename="$3"
echo "$command $volume - test $sequence" > "$filename"
;;
*) # just ignore anything else
;;
esac
|