all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH access-control v4 3/4] convert regression tests to new 'remove-vanished' parameter
Date: Mon, 28 Mar 2022 14:38:04 +0200	[thread overview]
Message-ID: <20220328123807.233098-4-d.csapak@proxmox.com> (raw)
In-Reply-To: <20220328123807.233098-1-d.csapak@proxmox.com>

Signed-off-by: Dominik Csapak <d.csapak@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





  parent reply	other threads:[~2022-03-28 12:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28 12:38 [pve-devel] [PATCH access-control/manager/docs v4] fix #3668: improving realm sync Dominik Csapak
2022-03-28 12:38 ` [pve-devel] [PATCH access-control v4 1/4] add regression tests for realm-sync Dominik Csapak
2022-03-28 12:38 ` [pve-devel] [PATCH access-control v4 2/4] fix #3668: realm-sync: replace 'full' and 'purge' options with 'remove-vanished' Dominik Csapak
2022-03-28 12:38 ` Dominik Csapak [this message]
2022-03-28 12:38 ` [pve-devel] [PATCH access-control v4 4/4] add realm-sync regression test for new 'remove-vanished' Dominik Csapak
2022-03-28 12:38 ` [pve-devel] [PATCH manager v4 1/1] ui: realm sync: replace 'full' and 'purge' with 'remove-vanished' Dominik Csapak
2022-03-28 12:38 ` [pve-devel] [PATCH docs v4 1/1] update documentation about sync-options Dominik Csapak
2022-04-26 12:27 ` [pve-devel] applied-series: [PATCH access-control/manager/docs v4] fix #3668: improving realm sync Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220328123807.233098-4-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal