This file is indexed.

/usr/bin/xeno-regression-test is in xenomai-runtime 2.6.2.1-2ubuntu2.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#! /usr/lib/xenomai/testsuite/xeno-test-run

usage()
{
    cat <<EOF
xeno-regression-test [ -l "load command" ] [ -- ] [ latency test options ]

Run Xenomai regression testsuite on your platform, by first starting a
fewtests, then running the latency test in parallel to the switchtest test
under the load generated by "load-command".

By default, the load command is "dohell 900", which will generate load during
15 minutes. To generate a more realistic load see dohell help.

Any other option passed on the command line is passed to the latency test.

Example:
xeno-regression-test -l "dohell -s 192.168.0.5 -m /mnt -l /ltp" -t 2

Will generate load including network load using the server at IP address
192.168.0.5, some I/O under the moint point /mnt, and the LTP testsuite
installed under the /ltp directory, and use the latency test by measuring the
timer irq latency.
EOF
}

if [ "$1" = "-h" -o "$1" = "--help" ]; then
    usage
    exit 0
fi

if [ "$1" = "--" ]; then
   shift
fi

set -ex

echo 0 > /proc/xenomai/latency || :

/usr/lib/xenomai/testsuite/arith
/usr/lib/xenomai/testsuite/clocktest -C 42 -T 30 || :
/usr/lib/xenomai/testsuite/clocktest -T 30
/usr/lib/xenomai/testsuite/cond-torture-native
/usr/lib/xenomai/testsuite/cond-torture-posix
/usr/lib/xenomai/testsuite/mutex-torture-native
/usr/lib/xenomai/testsuite/mutex-torture-posix
/usr/lib/xenomai/testsuite/regression/posix/leaks
/usr/lib/xenomai/testsuite/regression/posix/mprotect
/usr/lib/xenomai/testsuite/regression/posix/nano_test
/usr/lib/xenomai/testsuite/regression/posix/shm
/usr/lib/xenomai/testsuite/regression/posix/xddp_test
/usr/lib/xenomai/testsuite/regression/posix/test_pip_exit
/usr/lib/xenomai/testsuite/regression/native/heap
/usr/lib/xenomai/testsuite/regression/native/leaks
/usr/lib/xenomai/testsuite/regression/native/sigdebug
/usr/lib/xenomai/testsuite/regression/native/tsc
/usr/lib/xenomai/testsuite/regression/native+posix/mq_select

start_load

check_alive /usr/lib/xenomai/testsuite/switchtest
check_alive /usr/lib/xenomai/testsuite/switchtest -s 1000
check_alive /usr/lib/xenomai/testsuite/latency ${1+"$@"}

wait_load