Add ability to imply 'default' VM in commands

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire
2016-01-14 19:03:46 -08:00
parent 0bbf6f126d
commit 5000139c8e
18 changed files with 308 additions and 86 deletions

View File

@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
@test "inspect: show error in case of no args" {
run machine inspect
[ "$status" -eq 1 ]
[[ ${output} == *"Expected one machine name as an argument"* ]]
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
}

View File

@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
@test "status: show error in case of no args" {
run machine status
[ "$status" -eq 1 ]
[[ ${output} == *"Expected one machine name as an argument"* ]]
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
}

View File

@@ -5,5 +5,5 @@ load ${BASE_TEST_DIR}/helpers.bash
@test "url: show error in case of no args" {
run machine url
[ "$status" -eq 1 ]
[[ ${output} == *"Expected one machine name as an argument"* ]]
[[ ${output} == *"Error: No machine name(s) specified and no \"default\" machine exists."* ]]
}