This file is indexed.

/usr/bin/xeno-regression-test is in xenomai-system-tools 2.6.4+dfsg-0.2.

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/x86_64-linux-gnu/xenomai/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/x86_64-linux-gnu/xenomai/arith
/usr/lib/x86_64-linux-gnu/xenomai/clocktest -C 42 -T 30 || :
/usr/lib/x86_64-linux-gnu/xenomai/clocktest -T 30
/usr/lib/x86_64-linux-gnu/xenomai/cond-torture-native
/usr/lib/x86_64-linux-gnu/xenomai/cond-torture-posix
/usr/lib/x86_64-linux-gnu/xenomai/mutex-torture-native
/usr/lib/x86_64-linux-gnu/xenomai/mutex-torture-posix
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/leaks
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/mprotect
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/nano_test
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/shm
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/xddp_test
/usr/lib/x86_64-linux-gnu/xenomai/regression/posix/test_pip_exit
/usr/lib/x86_64-linux-gnu/xenomai/regression/native/heap
/usr/lib/x86_64-linux-gnu/xenomai/regression/native/leaks
/usr/lib/x86_64-linux-gnu/xenomai/regression/native/sigdebug
/usr/lib/x86_64-linux-gnu/xenomai/regression/native/tsc
/usr/lib/x86_64-linux-gnu/xenomai/regression/native+posix/mq_select

start_load

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

wait_load