File: run_check_subsystem_order.sh

package info (click to toggle)
tor 0.4.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,644 kB
  • sloc: ansic: 318,917; sh: 7,416; python: 1,829; makefile: 622; perl: 249; pascal: 141
file content (18 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (7)
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