summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorJaymala Sinha <jsinha@chef.io>2019-06-03 12:20:01 -0400
committerJaymala Sinha <jsinha@chef.io>2019-06-04 17:12:02 -0400
commit763aa2ea6f0e76cd0b67a0c78aba085340031901 (patch)
tree1ec01fde00f6aadc32b192d12590b1b7cf05bbe7 /spec/functional
parentc75acb8512b290e8531b33787b76789afdfaa435 (diff)
downloadchef-763aa2ea6f0e76cd0b67a0c78aba085340031901.tar.gz
Enable All BK verification tests
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/ifconfig_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/ifconfig_spec.rb b/spec/functional/resource/ifconfig_spec.rb
index c52a4c0694..10ebcaf8b6 100644
--- a/spec/functional/resource/ifconfig_spec.rb
+++ b/spec/functional/resource/ifconfig_spec.rb
@@ -53,7 +53,7 @@ describe Chef::Resource::Ifconfig, :requires_root, :skip_travis, external: inclu
end
def fetch_first_interface_name
- shell_out("ip link list |grep UP|grep -vi loop|head -1|cut -d':' -f 2").stdout.strip
+ shell_out("ip link list |grep UP|grep -vi loop|head -1|cut -d':' -f 2 |cut -d'@' -f 1").stdout.strip
end
# **Caution: any updates to core interfaces can be risky.