Sha256: cb2b87f815d843bed02dbfcc85ec8278b4b1e09f50d81d30aa972806580ef326
Contents?: true
Size: 1.2 KB
Versions: 10
Compression:
Stored size: 1.2 KB
Contents
require 'spec_helper' property[:os] = nil set :os, :family => 'openbsd' describe get_command(:check_interface_has_ipv6_address, 'vio0', '2001:0db8:bd05:01d2:288a:1fc0:0001:10ee') do it { should eq "ifconfig vio0 inet6 | grep 'inet6 2001:0db8:bd05:01d2:288a:1fc0:0001:10ee '" } end describe get_command(:check_interface_has_ipv6_address, 'vio0', '2001:0db8:bd05:01d2:288a:1fc0:0001:10ee/64') do it { should eq "ifconfig vio0 inet6 | grep 'inet6 2001:0db8:bd05:01d2:288a:1fc0:0001:10ee prefixlen 64'" } end describe get_command(:check_interface_has_ipv6_address, 'vio0', 'fe80::5054:ff:fe01:10ee/64') do it { should eq "ifconfig vio0 inet6 | grep 'inet6 fe80::5054:ff:fe01:10ee%vio0 prefixlen 64'" } end describe get_command(:check_interface_has_ipv6_address, 'vio0', 'fe80::5054:ff:fe01:10ee') do it { should eq "ifconfig vio0 inet6 | grep 'inet6 fe80::5054:ff:fe01:10ee%vio0 '" } end describe get_command(:check_interface_has_ipv4_address, 'vio0', '192.168.0.123') do it { should eq "ifconfig vio0 inet | grep 'inet 192\\.168\\.0\\.123 '" } end describe get_command(:check_interface_has_ipv4_address, 'vio0', '192.168.0.123/24') do it { should eq "ifconfig vio0 inet | grep 'inet 192\\.168\\.0\\.123 '" } end
Version data entries
10 entries across 10 versions & 2 rubygems