Test operation

This commit is contained in:
Juan 2018-08-28 15:51:43 +02:00
parent 8981d52105
commit c7373e2146
2 changed files with 5 additions and 2 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
vn-vmware (1.0.24) stable; urgency=low
vn-vmware (1.0.25) stable; urgency=low
* Initial Release.

View File

@ -22,7 +22,7 @@ use constant true => 1;
my %opts = (
'operation' => {
type => "=s",
help => "Operation to perform: backup-job, clone-job, backup, rotate, clone, snapshot, migrate",
help => "Operation to perform: backup-job, clone-job, backup, rotate, clone, snapshot, migrate, test",
required => true
},
'job' => {
@ -276,6 +276,9 @@ sub main {
open_machine();
migrate_machine();
}
when ('test') {
log_message "Test operation, doing nothing.";
}
default {
die "Unknown operation '$operation'.";
}