File tree Expand file tree Collapse file tree
bosh-stemcell/spec/stemcells Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 describe 'SR-IOV VF udev rules' do
5757 subject { file ( '/etc/udev/rules.d/10-azure-sriov-unmanaged.rules' ) }
5858
59- it { should be_mode ( 644 ) }
59+ it { should be_mode ( 0644 ) }
6060 it { should be_owned_by ( 'root' ) }
6161
6262 its ( :content ) { should match /SUBSYSTEM=="net"/ }
63- its ( :content ) { should match /ATTR\{ flags\} =="0 \? \? \[ 89ABCDEF\] \* "/ }
63+ its ( :content ) { should match /ATTR\{ flags\} =="0x \? \[ 89ABCDEF\] \* "/ }
6464 its ( :content ) { should match /ENV\{ AZURE_UNMANAGED_SRIOV\} ="1"/ }
6565 its ( :content ) { should match /ENV\{ ID_NET_MANAGED_BY\} ="unmanaged"/ }
6666 its ( :content ) { should match /ENV\{ NM_UNMANAGED\} ="1"/ }
7070 describe 'systemd network configuration for unmanaged SR-IOV devices' do
7171 subject { file ( '/etc/systemd/network/01-azure-sriov-unmanaged.network' ) }
7272
73- it { should be_mode ( 644 ) }
73+ it { should be_mode ( 0644 ) }
7474 it { should be_owned_by ( 'root' ) }
7575
7676 its ( :content ) { should match /\[ Match\] / }
You can’t perform that action at this time.
0 commit comments