vagrant/test/unit/plugins/commands
Brian Cain 87b7514603 (#7188) Clean up vagrant snapshot restore/delete error messages
This commit adds some better handling around the snapshot restore and
delete commands for the virtualbox provider. If a user attempts to restore from
a vm that does not exist, instead of exiting 0 it will raise an
exception saying the virtual machine has not been created yet.
Addtionally, if a user attempts to restore from a snapshot id that does
not exist, instead of printing a complicated exception from the
virtualbox cli tool, it prints a more useful error message telling the
user that the snapshot does not exist.
2017-06-07 09:12:20 -07:00
..
box/command Add tests for prune command 2016-11-09 09:24:41 +01:00
cap commands/cap 2015-10-08 10:35:36 -04:00
global-status core: Use the MachineIndex#vagrant_env method 2014-04-21 13:54:31 -07:00
init Add coverage on box version in minimal init 2017-02-22 12:31:24 -08:00
list-commands Convert specs to RSpec 2.14.8 syntax with Transpec 2014-03-14 12:02:07 -03:00
login Print a warning when token and envvar are set 2016-04-08 10:16:10 -04:00
package commands/package: provide machine data directory for base box 2016-08-17 06:49:12 -07:00
plugin/action Update tests for new information and cleaning method 2016-11-16 13:27:34 -08:00
port Lol whitespace [ci skip] 2015-11-24 16:36:36 -05:00
provider test: add tests for provider command 2015-11-04 14:26:22 -08:00
push Isolate push deprecation to atlas strategy only 2017-03-21 15:08:17 -07:00
snapshot/command (#7188) Clean up vagrant snapshot restore/delete error messages 2017-06-07 09:12:20 -07:00
ssh_config redux of pr 7398 for ssh-agent key fix 2016-08-11 11:48:10 -07:00
up Prevent other provider install attempts when explicit provider given 2017-03-21 10:58:06 -07:00
validate Add unit test for validate command 2017-02-07 14:59:20 +08:00