This file is indexed.

/usr/bin/xeno-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
#! /usr/lib/x86_64-linux-gnu/xenomai/xeno-test-run

usage()
{
    cat <<EOF
xeno-test -h or xeno-test --help

This help text.


xeno-test [ -l "load command" ] [ -- ] [ latency test options ]

Run a basic test/benchmark of Xenomai on your platform, by first starting a
few unit tests, then running the latency 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-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/switchtest -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

start_load

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

wait_load