From 9bfe9702d07f452c71790cd7c2b58ec34521caef Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 7 Aug 2024 20:04:04 +0100 Subject: [PATCH] Workaround inspec tcp6 protocol detection bug --- test/integration/openssh/inspec/openssh_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/openssh/inspec/openssh_spec.rb b/test/integration/openssh/inspec/openssh_spec.rb index 6560895eb..b135057d7 100644 --- a/test/integration/openssh/inspec/openssh_spec.rb +++ b/test/integration/openssh/inspec/openssh_spec.rb @@ -13,5 +13,7 @@ describe port(22) do it { should be_listening } - its("protocols") { should cmp %w[tcp tcp6] } + its("protocols") { should include "tcp" } + # https://github.com/inspec/inspec/issues/3209 + # its("protocols") { should include "tcp6" } end