File: run_check_subsystem_order.sh

package info (click to toggle)
tor 0.4.8.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 50,308 kB
  • sloc: ansic: 314,413; sh: 7,386; python: 1,829; makefile: 620; perl: 249; pascal: 141
file content (18 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -e

TOR="${abs_top_builddir:-.}/src/app/tor"

INCLUDES_PY="${abs_top_srcdir:-.}/scripts/maint/practracker/includes.py"

if ! test -x "${INCLUDES_PY}" ; then
    echo "skip"
    exit 77
fi

"${TOR}" --dbg-dump-subsystem-list | \
    "${PYTHON:-python}" \
    "${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src"

echo ok