Sha256: 779ae688024848814aee8749cb933793abc9aaa410d01f07d84a1fb82b8cc0db

Contents?: true

Size: 794 Bytes

Versions: 12

Compression:

Stored size: 794 Bytes

Contents

#
# Copyright 2016, Noah Kantrowitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'serverspec'
set :backend, :exec

describe command('/sbin/ifconfig eth0 multicast') do
  its(:exit_status) { is_expected.to_not eq 0 }
  its(:stderr) { is_expected.to match /Operation not permitted/ }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kitchen-docker-2.15.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.14.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.13.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.12.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.11.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.10.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.9.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.8.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.7.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.6.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.6.0.rc.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb
kitchen-docker-2.5.0 test/integration/capabilities/serverspec/capabilities_drop_spec.rb