mirror of https://github.com/docker/docs.git
Fix test due to error message change
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
This commit is contained in:
parent
cc4930d7dc
commit
501382068c
|
|
@ -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"* ]]
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue