]> git.saurik.com Git - apt.git/blob - test/integration/test-method-connect
block direct connections to .onion domains (RFC7687)
[apt.git] / test / integration / test-method-connect
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6
7 setupenvironment
8
9 cd downloaded
10 testfailureequal 'Err:1 http://vwakviie2ienjx6t.onion/
11 Direct connection to .onion domains is blocked by default. If you meant to use Tor remember to use tor+http instead of http.
12 E: Failed to fetch http://vwakviie2ienjx6t.onion/ Direct connection to .onion domains is blocked by default. If you meant to use Tor remember to use tor+http instead of http.
13 E: Download Failed' apthelper download-file 'http://vwakviie2ienjx6t.onion/' ftp.debian.org.html