- params:
    breaker: ../../../../../bin/breaker

- description: Command help should display help information
  command: '{breaker} --help'
  exitcode: 0
  output: 'Usage: breaker'

- description: Command init should create sample Breaker hosts file
  command: '{breaker} init'
  exitcode: 0
  output: 'Creating sample Breaker hosts file: .breaker.json'

- description: Command format clusterssh type should display formatted hosts info
  command: '{breaker} --type clusterssh format'
  exitcode: 0
  output: 'clusters = all dev dev1 dev2 prod prod1'

- description: Command format ansible type should display formatted hosts info
  command: '{breaker} --type ansible format'
  exitcode: 0
  output: '\[all\]\ndev1.com\ndev2.net\nprod1.org\n'

- description: Command format sshconfig type should display formatted hosts info
  command: '{breaker} --type sshconfig format'
  exitcode: 0
  output: 'HostName dev1.com'

- description: Command ssh should fail due to invalid remote host and missing key
  command: '{breaker} ssh "uname -a"'
  exitcode: 1
  output: 'no such file or directory ''path/to/key1'''

- params:
    breaker: ../../../../../bin/breaker

- description: Command help should display help information
  command: '{breaker} --help'
  exitcode: 0
  output: 'Usage: breaker'

- description: Command init should create sample Breaker hosts file
  command: '{breaker} init'
  exitcode: 0
  output: 'Creating sample Breaker hosts file: .breaker.json'

- description: Command format clusterssh type should display formatted hosts info
  command: '{breaker} --type clusterssh format'
  exitcode: 0
  output: 'clusters = all dev dev1 dev2 prod prod1'

- description: Command format ansible type should display formatted hosts info
  command: '{breaker} --type ansible format'
  exitcode: 0
  output: '\[all\]\ndev1.com\ndev2.net\nprod1.org\n'

- description: Command format sshconfig type should display formatted hosts info
  command: '{breaker} --type sshconfig format'
  exitcode: 0
  output: 'HostName dev1.com'

- description: Command ssh should fail due to invalid remote host and missing key
  command: '{breaker} ssh "uname -a"'
  exitcode: 1
  output: 'no such file or directory.*''path/to/key1'''

Update key error message to support iojs (node 3.0) .
Update key error message to support iojs (node 3.0) .
