[pve-devel] [PATCH access-control v4 3/4] convert regression tests to new 'remove-vanished' parameter

Dominik Csapak d.csapak at proxmox.com
Mon Mar 28 14:38:04 CEST 2022


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/test/realm_sync_test.pl | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/test/realm_sync_test.pl b/src/test/realm_sync_test.pl
index 78089fa..304c7ed 100755
--- a/src/test/realm_sync_test.pl
+++ b/src/test/realm_sync_test.pl
@@ -150,8 +150,6 @@ my $tests = [
 	"non-full without purge",
 	{
 	    realm => 'syncedrealm',
-	    full => 0,
-	    purge => 0,
 	    scope => 'both',
 	},
 	{
@@ -198,8 +196,7 @@ my $tests = [
 	"full without purge",
 	{
 	    realm => 'syncedrealm',
-	    full => 1,
-	    purge => 0,
+	    'remove-vanished' => 'entry;properties',
 	    scope => 'both',
 	},
 	{
@@ -240,8 +237,7 @@ my $tests = [
 	"non-full with purge",
 	{
 	    realm => 'syncedrealm',
-	    full => 0,
-	    purge => 1,
+	    'remove-vanished' => 'acl',
 	    scope => 'both',
 	},
 	{
@@ -286,8 +282,7 @@ my $tests = [
 	"full with purge",
 	{
 	    realm => 'syncedrealm',
-	    full => 1,
-	    purge => 1,
+	    'remove-vanished' => 'acl;entry;properties',
 	    scope => 'both',
 	},
 	{
-- 
2.30.2






More information about the pve-devel mailing list