Displaying 2 results from an estimated 2 matches for "skip_ipv6".
2015 Jun 30
2
Call for testing: OpenSSH 6.9
...hole test.
Is this too ugly?
............
--- cfgparse.sh.old 2015-06-01 22:43:48.721636775 -0700
+++ cfgparse.sh 2015-06-29 21:33:04.793724856 -0700
@@ -3,6 +3,11 @@
tid="config parse"
+# This is a reasonable proxy for IPv6 support.
+if ! config_defined HAVE_STRUCT_IN6_ADDR ; then
+ SKIP_IPV6=yes
+fi
+
# We need to use the keys generated for the regression test because sshd -T
# will fail if we're not running with SUDO (no permissions for real keys) or
# if we are # running tests on a system that has never had sshd installed
@@ -26,6 +31,9 @@
cat > $OBJ/sshd_config.0 <<...
2015 Jun 30
2
Call for testing: OpenSSH 6.9
On Tue, 30 Jun 2015, Damien Miller wrote:
| I think we should just disable the test if the host doesn't support IPv6.
|
| diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh
| index 7f377d8..e19b4d0 100644
| --- a/regress/cfgparse.sh
| +++ b/regress/cfgparse.sh
| @@ -3,6 +3,12 @@
|
| tid="config parse"
|
| +# Possessing struct addrinfo is a reasonable proxy for IPv6