run_check_subsystem_order.sh 359 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. set -e
  3. TOR="${abs_top_builddir:-.}/src/app/tor"
  4. INCLUDES_PY="${abs_top_srcdir:-.}/scripts/maint/practracker/includes.py"
  5. if ! test -x "${INCLUDES_PY}" ; then
  6. echo "skip"
  7. exit 77
  8. fi
  9. "${TOR}" --dbg-dump-subsystem-list | \
  10. "${PYTHON:-python}" \
  11. "${INCLUDES_PY}" --check-subsystem-order - "${abs_top_srcdir}/src"
  12. echo ok