mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add a test script to check subsystem order as part of make check.
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/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 | \
|
||||
"${INCLUDES_PY}" --check-subsystem-order -
|
||||
|
||||
echo ok
|
||||
Reference in New Issue
Block a user