summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-31 10:58:41 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-31 10:58:41 -0400
commitdebe846cb88c1157c1820c88a7128dd2362335d3 (patch)
tree071aacbacb66cb188ee502f7f2d46c1f0f148ba6
parentbbac9e1d0ceb173e2c3c12b1837b6036f10f50ea (diff)
parentb822c5891a2a62640c1d64849f735559e55c662e (diff)
downloadtor-debe846cb88c1157c1820c88a7128dd2362335d3.tar.gz
tor-debe846cb88c1157c1820c88a7128dd2362335d3.zip
Merge remote-tracking branch 'teor/bug19905'
-rw-r--r--Makefile.am4
-rw-r--r--changes/bug199053
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index e45856c367..c160af9732 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -100,11 +100,11 @@ test-network: need-chutney-path $(TESTING_TOR_BINARY) src/tools/tor-gencert
# only run IPv6 tests if we can ping6 ::1 (localhost)
# some IPv6 tests will fail without an IPv6 DNS server (see #16971 and #17011)
# only run mixed tests if we have a tor-stable binary
-# see #17015 for autodetection of different tor versions
+# Try both the BSD and the Linux ping6 syntax, because they're incompatible
test-network-all: need-chutney-path test-driver $(TESTING_TOR_BINARY) src/tools/tor-gencert
mkdir -p $(TEST_NETWORK_ALL_LOG_DIR)
@flavors="$(TEST_CHUTNEY_FLAVORS)"; \
- if ping6 -q -c 1 -o ::1 >/dev/null 2>&1; then \
+ if ping6 -q -c 1 -o ::1 >/dev/null 2>&1 || ping6 -q -c 1 -W 1 ::1 >/dev/null 2>&1; then \
echo "ping6 ::1 succeeded, running IPv6 flavors: $(TEST_CHUTNEY_FLAVORS_IPV6)."; \
flavors="$$flavors $(TEST_CHUTNEY_FLAVORS_IPV6)"; \
else \
diff --git a/changes/bug19905 b/changes/bug19905
new file mode 100644
index 0000000000..b689740594
--- /dev/null
+++ b/changes/bug19905
@@ -0,0 +1,3 @@
+ o Minor bugfixes (IPv6, testing):
+ - Check for IPv6 correctly on Linux when running test networks.
+ Fixes bug 19905; bugfix on 0.2.7.3-rc; patch by teor.