Fix test due to error message change

Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
Jean-Laurent de Morlhon 2016-01-08 11:53:56 +01:00
parent cc4930d7dc
commit 501382068c
1 changed files with 3 additions and 3 deletions

View File

@ -85,21 +85,21 @@ use_shared_machine
run machine url $NAME
echo ${output}
[ "$status" -eq 1 ]
[[ ${output} == *"not running"* ]]
[[ ${output} == *"Host is not running"* ]]
}
@test "$DRIVER: env should show an error when machine is stopped" {
run machine env $NAME
echo ${output}
[ "$status" -eq 1 ]
[[ ${output} == *"not running. Please start"* ]]
[[ ${output} == *"Host is not running"* ]]
}
@test "$DRIVER: version should show an error when machine is stopped" {
run machine version $NAME
echo ${output}
[ "$status" -eq 1 ]
[[ ${output} == *"not running"* ]]
[[ ${output} == *"Host is not running"* ]]
}