This file is indexed.

/usr/lib/2013.com.canonical.certification:checkbox/bin/pts_run is in plainbox-provider-checkbox 0.4-1.

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
25
26
27
28
29
30
31
32
33
#!/bin/bash

# Exit on any error
set -o errexit

# Accept Terms & Conditions, disable anonymous reporting
echo -e "Y\nn\nn" | phoronix-test-suite > /dev/null

# Disable batch result saving and all test options selection
echo -e "n\nn" | phoronix-test-suite batch-setup > /dev/null 

# Run each test only one time
export FORCE_TIMES_TO_RUN=1

# Run only the following resolution
export OVERRIDE_VIDEO_MODES=800x600

set +o errexit
rv=0
output=$(phoronix-test-suite batch-benchmark $@ 2>&1)
#The output does NOT report success. It may contain, if it fails:
# The test did not produce a result
# The test failed to run properly
# Failed to Fetch

if (echo "$output" | grep -q -i "Failed to fetch" ); then 
	rv=1
fi
if ( echo "$output" | grep -q -i 'This test failed to run properly'); then 
	rv=1
fi
echo "$output"
exit $rv