Merge pull request #4150 from otiai10/4149-fix-test-scenario-adjusting-to-latest-spec

Fix test scenario to adjust to latest spec
This commit is contained in:
Joffrey F
2017-07-17 15:01:58 -07:00
committed by GitHub
+4 -5
View File
@@ -102,17 +102,16 @@ use_shared_machine
[[ ${output} == *"Host is not running"* ]]
}
@test "$DRIVER: machine should not allow upgrade when stopped" {
@test "$DRIVER: machine should upgrade even when machine is stopped" {
run machine upgrade $NAME
echo ${output}
[[ "$status" -eq 1 ]]
[[ "$status" -eq 0 ]]
}
@test "$DRIVER: start" {
@test "$DRIVER: start should show an error after upgrade" {
run machine start $NAME
echo ${output}
[ "$status" -eq 0 ]
[ "$status" -eq 1 ]
}
@test "$DRIVER: machine should show running after start" {