5 UNAME_OS
=$
(uname
-s | cut
-d_ -f1)
6 if test "$UNAME_OS" = 'CYGWIN' || \
7 test "$UNAME_OS" = 'MSYS' || \
8 test "$UNAME_OS" = 'MINGW'; then
9 if test "$APPVEYOR" = 'True'; then
10 echo "This test is disabled on Windows CI, as it requires firewall examptions. Skipping." >&2
19 if [ -n "$tmpdir" ] && [ -d "$tmpdir" ]; then
24 trap clean EXIT HUP INT TERM
26 tmpdir
="$(mktemp -d -t tor_rebind_test.XXXXXX)"
27 if [ -z "$tmpdir" ]; then
28 echo >&2 mktemp failed
30 elif [ ! -d "$tmpdir" ]; then
31 echo >&2 mktemp failed to
make a directory
35 "${PYTHON:-python}" "${abs_top_srcdir:-.}/src/test/test_rebind.py" "${TESTING_TOR_BINARY}" "$tmpdir" || exitcode
=1