Sha256: 1f695c9d30cf34480c28a49504e2a320b8310a4b2a273d6f9bd4b323e6dbd3ab
Contents?: true
Size: 775 Bytes
Versions: 25
Compression:
Stored size: 775 Bytes
Contents
Feature: DSL parser Scenario: name conflict (vsiwtch and vswitch) Given a file named "network.conf" with: """ vswitch { dpid 0xabc } vswitch { dpid 0xabc } """ When I do phut run "network.conf" Then the exit status should not be 0 And the stderr should contain: """ The name 0xabc conflicts with vswitch (name = 0xabc, dpid = 0xabc). """ Scenario: name conflict (vhost and vhost) Given a file named "network.conf" with: """ vhost { ip '192.168.0.1' } vhost { ip '192.168.0.1' } """ When I do phut run "network.conf" Then the exit status should not be 0 And the stderr should contain: """ The name 192.168.0.1 conflicts with vhost (name = 192.168.0.1, IP address = 192.168.0.1). """
Version data entries
25 entries across 25 versions & 1 rubygems