Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 71a052cd9e
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.861 kb
# The purpose is to write tests independent of the way they are executed
Feature: testing vagrant testing
Scenario: example of an interactive session
Given I connect to a running system interactively
When I type "id -a"
And I disconnect
Then the output should match /vagrant/
Then the exit status should be 0
Scenario: example of a one shot run , non-zero exit status
Given I execute `cat /etc/passwd|grep \\"vagrant\\"` on a running system
And the output should match /vagrant/
Then the exit status should be 0
Scenario: testing exit status of command
When I execute `exit 56` on a running system
Then the exit status should be 56
And the exit status should not be 0
Scenario: testing if puppet can run ok
When I execute `puppet --version` on a running system
And the exit status should not be 0
Jump to Line
Something went wrong with that request. Please try again.