mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Finished refactoring commands into a registration type system.
This commit is contained in:
parent
1a5a192f71
commit
c932bab672
2
test.sh
2
test.sh
@ -197,6 +197,7 @@ test_deleting_server_that_does_not_exist() {
|
|||||||
assertEquals "Incorrect exit code." $EX_NAME_NOT_FOUND $EXIT_CODE
|
assertEquals "Incorrect exit code." $EX_NAME_NOT_FOUND $EXIT_CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Assumes: test_creating_server_without_any_jargroups
|
||||||
test_deleting_server_that_exists_and_is_stopped() {
|
test_deleting_server_that_exists_and_is_stopped() {
|
||||||
quiet $SCRIPT server create example
|
quiet $SCRIPT server create example
|
||||||
expect_stderr_empty $SCRIPT server delete example <<< "y"
|
expect_stderr_empty $SCRIPT server delete example <<< "y"
|
||||||
@ -212,6 +213,7 @@ test_renaming_server_that_does_not_exist() {
|
|||||||
assertEquals "Incorrect exit code." $EX_NAME_NOT_FOUND $EXIT_CODE
|
assertEquals "Incorrect exit code." $EX_NAME_NOT_FOUND $EXIT_CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Assumes: test_creating_server_without_any_jargroups
|
||||||
test_renaming_server_that_exists_and_is_stopped() {
|
test_renaming_server_that_exists_and_is_stopped() {
|
||||||
quiet $SCRIPT server create example
|
quiet $SCRIPT server create example
|
||||||
expect_stderr_empty $SCRIPT server rename example example_new_name
|
expect_stderr_empty $SCRIPT server rename example example_new_name
|
||||||
|
Loading…
Reference in New Issue
Block a user