Permalink
Browse files

Fix test scenario to adjust to latest spec

Fix #4149

Signed-off-by: Hiromu OCHIAI <otiai10@gmail.com>
  • Loading branch information...
otiai10 committed Jun 23, 2017
1 parent c604d46 commit 437f27d535261c00ecf984ae15c12cb94cd65813
Showing with 4 additions and 5 deletions.
  1. +4 −5 test/integration/core/core-commands.bats
@@ -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" {

0 comments on commit 437f27d

Please sign in to comment.