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

Version Path
phut-0.7.4 features/dsl.feature
phut-0.7.3 features/dsl.feature
phut-0.7.2 features/dsl.feature
phut-0.7.1 features/dsl.feature
phut-0.7.0 features/dsl.feature
phut-0.6.11 features/dsl.feature
phut-0.6.10 features/dsl.feature
phut-0.6.9 features/dsl.feature
phut-0.6.8 features/dsl.feature
phut-0.6.7 features/dsl.feature
phut-0.6.6 features/dsl.feature
phut-0.6.5 features/dsl.feature
phut-0.6.4 features/dsl.feature
phut-0.6.3 features/dsl.feature
phut-0.6.2 features/dsl.feature
phut-0.6.1 features/dsl.feature
phut-0.6.0 features/dsl.feature
phut-0.5.0 features/dsl.feature
phut-0.4.0 features/dsl.feature
phut-0.3.1 features/dsl.feature