From 1b06f7bc4ee52aa7e383ffc4f716d1df2bcfd418 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Fri, 4 Jun 2021 15:49:37 +0200 Subject: [PATCH] test: vzdump: adapt to new default Signed-off-by: Fabian Ebner --- debian/control | 4 ++-- test/vzdump_new_test.pl | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 010dd6638..1b1c248ae 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 12~), libpve-cluster-api-perl, libpve-cluster-perl (>= 6.1-6), libpve-common-perl, - libpve-guest-common-perl (>= 3.0-8~), + libpve-guest-common-perl (>= 4.0-2~), libpve-http-server-perl (>= 2.0-12), libpve-storage-perl (>= 6.3-2), libtemplate-perl, @@ -52,7 +52,7 @@ Depends: apt-transport-https | apt (>= 1.5~), libpve-cluster-api-perl, libpve-cluster-perl (>= 6.1-6), libpve-common-perl (>= 6.2-2), - libpve-guest-common-perl (>= 3.1-5), + libpve-guest-common-perl (>= 4.0-2), libpve-http-server-perl (>= 3.2-1), libpve-storage-perl (>= 6.3-6), librados2-perl, diff --git a/test/vzdump_new_test.pl b/test/vzdump_new_test.pl index a8f70d628..236762391 100755 --- a/test/vzdump_new_test.pl +++ b/test/vzdump_new_test.pl @@ -92,9 +92,9 @@ my @tests = ( description => 'no params', expected => { 'prune-backups' => { - 'keep-last' => 1, + 'keep-all' => 1, }, - remove => 1, + remove => 0, }, }, # TODO make parse error critical? @@ -105,9 +105,9 @@ my @tests = ( }, expected => { 'prune-backups' => { - 'keep-last' => 1, + 'keep-all' => 1, }, - remove => 1, + remove => 0, }, }, {