diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-02 09:15:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-02 09:15:16 -0400 |
commit | 569368e5a9a7f418caee513bfd4d4b4dfce9d032 (patch) | |
tree | 83a35689f1b6f6a85874b443c34f205c2349f034 | |
parent | f273295cadd1afe03c0e839ce51f0d00bf2b43d6 (diff) | |
parent | 5cde98e882408854bf9f0a3bb3c0995d1f7317af (diff) | |
download | tor-569368e5a9a7f418caee513bfd4d4b4dfce9d032.tar.gz tor-569368e5a9a7f418caee513bfd4d4b4dfce9d032.zip |
Merge remote-tracking branch 'teor/master'
-rw-r--r-- | changes/test-network-bridges-hs | 6 | ||||
-rwxr-xr-x | src/test/test-network.sh | 10 |
2 files changed, 15 insertions, 1 deletions
diff --git a/changes/test-network-bridges-hs b/changes/test-network-bridges-hs new file mode 100644 index 0000000000..a8f3521f3a --- /dev/null +++ b/changes/test-network-bridges-hs @@ -0,0 +1,6 @@ + o Minor features (testing, bridges, hidden services): + - Make "bridges+hs" the default test network. This tests almost all + tor functionality during make test-network, while allowing tests + to succeed on non-IPv6 systems. + Requires chutney commit 396da92 in test-network-bridges-hs. + Closes tickets 16945 (tor), 16946 (chutney) . Patches by "teor". diff --git a/src/test/test-network.sh b/src/test/test-network.sh index cc74c0f823..b5d7f7c42d 100755 --- a/src/test/test-network.sh +++ b/src/test/test-network.sh @@ -55,12 +55,20 @@ do done TOR_DIR="${TOR_DIR:-$PWD}" -NETWORK_FLAVOUR=${NETWORK_FLAVOUR:-basic} +NETWORK_FLAVOUR=${NETWORK_FLAVOUR:-"bridges+hs"} CHUTNEY_NETWORK=networks/$NETWORK_FLAVOUR myname=$(basename $0) +[ -n "$CHUTNEY_PATH" ] || { + echo "$myname: \$CHUTNEY_PATH not set, trying $TOR_DIR/../chutney" + CHUTNEY_PATH="$TOR_DIR/../chutney" +} + [ -d "$CHUTNEY_PATH" ] && [ -x "$CHUTNEY_PATH/chutney" ] || { echo "$myname: missing 'chutney' in CHUTNEY_PATH ($CHUTNEY_PATH)" + echo "$myname: Get chutney: git clone https://git.torproject.org/\ +chutney.git" + echo "$myname: Set \$CHUTNEY_PATH to a non-standard location: export CHUTNEY_PATH=\`pwd\`/chutney" exit 1 } |