Skip to content
Snippets Groups Projects
Commit 7909ee37 authored by liusheng's avatar liusheng Committed by Joffrey F
Browse files

Fix integrate tests of core commands cases


Signed-off-by: default avatarliusheng <liusheng@huawei.com>
parent dccdee01
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ use_shared_machine ...@@ -8,7 +8,7 @@ use_shared_machine
run machine inspect UNKNOWN run machine inspect UNKNOWN
echo ${output} echo ${output}
[ "$status" -eq 1 ] [ "$status" -eq 1 ]
[[ ${lines[0]} =~ "Host does not exist: \"UNKNOWN\"" ]] [[ ${lines[0]} =~ "Docker machine \"UNKNOWN\" does not exist" ]]
} }
@test "$DRIVER: appears with ls" { @test "$DRIVER: appears with ls" {
...@@ -29,7 +29,7 @@ use_shared_machine ...@@ -29,7 +29,7 @@ use_shared_machine
run machine create -d $DRIVER $NAME run machine create -d $DRIVER $NAME
echo ${output} echo ${output}
[ "$status" -eq 1 ] [ "$status" -eq 1 ]
[[ ${lines[0]} == "Host already exists: \"$NAME\"" ]] [[ ${lines[0]} == "Docker machine \"$NAME\" already exists" ]]
} }
@test "$DRIVER: run busybox container" { @test "$DRIVER: run busybox container" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment