Sha256: 3d5fa151a363e68c2b01dc9bf190815083cf4d9661ede2e649d56d7cf448ab37

Contents?: true

Size: 400 Bytes

Versions: 50

Compression:

Stored size: 400 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'linux'

describe get_command(:check_interface_has_ipv6_address, 'eth0', '2001:0db8:bd05:01d2:288a:1fc0:0001:10ee') do
  it { should eq "ip addr show eth0 | grep 'inet6 2001:0db8:bd05:01d2:288a:1fc0:0001:10ee/'" }
end

describe get_command(:get_interface_link_state, 'eth0') do
  it { should eq "cat /sys/class/net/eth0/operstate" }
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
specinfra-2.40.0 spec/command/linux/interface_spec.rb
specinfra-2.39.1 spec/command/linux/interface_spec.rb
specinfra-2.39.0 spec/command/linux/interface_spec.rb
specinfra-2.38.1 spec/command/linux/interface_spec.rb
specinfra-2.38.0 spec/command/linux/interface_spec.rb
specinfra-2.37.9 spec/command/linux/interface_spec.rb
specinfra-2.37.8 spec/command/linux/interface_spec.rb
specinfra-2.37.6 spec/command/linux/interface_spec.rb
specinfra-2.37.5 spec/command/linux/interface_spec.rb
specinfra-2.37.4 spec/command/linux/interface_spec.rb
specinfra-2.37.3 spec/command/linux/interface_spec.rb
specinfra-2.37.2 spec/command/linux/interface_spec.rb
specinfra-2.37.1 spec/command/linux/interface_spec.rb
specinfra-2.37.0 spec/command/linux/interface_spec.rb
specinfra-2.36.18 spec/command/linux/interface_spec.rb
specinfra-2.36.17 spec/command/linux/interface_spec.rb
specinfra-2.36.16 spec/command/linux/interface_spec.rb
specinfra-2.36.15 spec/command/linux/interface_spec.rb
specinfra-2.36.14 spec/command/linux/interface_spec.rb
specinfra-2.36.13 spec/command/linux/interface_spec.rb