wgctl test --section destructive --verbose ──────────────────────────────────────────────── wgctl Test Suite ──────────────────────────────────────────────── Destructive (modifying state) ────────────────────────────────────────────────── ❌ add phone peer Output: => ERROR: ❌ Client already exists: phone-testunit root@wireguard:/etc/wireguard/wgctl# wgctl rm --name phone-testunit Are you sure you want to permanently remove 'phone-testunit'? [y/N] y ──────────────────────────────────────────────── Removing client: phone-testunit ──────────────────────────────────────────────── => INFO: 🔑 🔒 Removed keys for: phone-testunit => SUCCESS: ✅ 🔒 Client removed: phone-testunit root@wireguard:/etc/wireguard/wgctl# wgctl test --section destructive --verbose ──────────────────────────────────────────────── wgctl Test Suite ──────────────────────────────────────────────── Destructive (modifying state) ────────────────────────────────────────────────── ✅ add phone peer ✅ block peer ✅ list shows blocked ✅ unblock peer ✅ rule assign ✅ rule unassign ❌ group add Output: => ERROR: ❌ Group already exists: testgroup root@wireguard:/etc/wireguard/wgctl# wgctl rm --name phone-testunit Are you sure you want to permanently remove 'phone-testunit'? [y/N] y ──────────────────────────────────────────────── Removing client: phone-testunit ──────────────────────────────────────────────── => INFO: 🔑 🔒 Removed keys for: phone-testunit => SUCCESS: ✅ 🔒 Client removed: phone-testunit root@wireguard:/etc/wireguard/wgctl# /usr/local/bin/wgctl group unblock --name testgroup 2>&1 root@wireguard:/etc/wireguard/wgctl# /usr/local/bin/wgctl group rm --name testgroup 2>&1 Remove group 'testgroup'? This only removes the group definition, not the peers. [y/N] y => SUCCESS: ✅ 🔒 Group removed: testgroup root@wireguard:/etc/wireguard/wgctl# wgctl test --section destructive --verbose ──────────────────────────────────────────────── wgctl Test Suite ──────────────────────────────────────────────── Destructive (modifying state) ────────────────────────────────────────────────── ✅ add phone peer ✅ block peer ✅ list shows blocked ✅ unblock peer ✅ rule assign ✅ rule unassign ✅ group add ✅ group peer add ❌ group block (expected 'Blocked' in output) root@wireguard:/etc/wireguard/wgctl#