mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 08:25:22 +00:00
Rename 'id revoke' to 'id relinquish' to match documentation
This commit is contained in:
parent
878ddb135d
commit
d5d5737f1c
@ -2614,9 +2614,9 @@ struct cli_schema command_line_options[]={
|
|||||||
"Return identity(s) as URIs of own node, or of known routable peers, or all known peers"},
|
"Return identity(s) as URIs of own node, or of known routable peers, or all known peers"},
|
||||||
{app_id_pin, {"id", "enter", "pin", "<entry-pin>", NULL}, 0,
|
{app_id_pin, {"id", "enter", "pin", "<entry-pin>", NULL}, 0,
|
||||||
"Unlock any pin protected identities and enable routing packets to them"},
|
"Unlock any pin protected identities and enable routing packets to them"},
|
||||||
{app_revoke_pin, {"id", "revoke", "pin", "<entry-pin>", NULL}, 0,
|
{app_revoke_pin, {"id", "relinquish", "pin", "<entry-pin>", NULL}, 0,
|
||||||
"Unload any identities protected by this pin and drop all routes to them"},
|
"Unload any identities protected by this pin and drop all routes to them"},
|
||||||
{app_revoke_pin, {"id", "revoke", "sid", "<sid>", NULL}, 0,
|
{app_revoke_pin, {"id", "relinquish", "sid", "<sid>", NULL}, 0,
|
||||||
"Unload a specific identity and drop all routes to it"},
|
"Unload a specific identity and drop all routes to it"},
|
||||||
{app_route_print, {"route","print",NULL}, 0,
|
{app_route_print, {"route","print",NULL}, 0,
|
||||||
"Print the routing table"},
|
"Print the routing table"},
|
||||||
|
@ -235,13 +235,13 @@ test_KeyringEntryPinServer() {
|
|||||||
assertStdoutGrep --fixed-strings "$ONE"
|
assertStdoutGrep --fixed-strings "$ONE"
|
||||||
assertStdoutGrep --fixed-strings "$TWOA"
|
assertStdoutGrep --fixed-strings "$TWOA"
|
||||||
assertStdoutGrep --fixed-strings "$TWOB"
|
assertStdoutGrep --fixed-strings "$TWOB"
|
||||||
executeOk_servald id revoke pin 'one'
|
executeOk_servald id relinquish pin 'one'
|
||||||
executeOk_servald id self
|
executeOk_servald id self
|
||||||
assertStdoutLineCount == 3
|
assertStdoutLineCount == 3
|
||||||
assertStdoutGrep --fixed-strings "$SIDA"
|
assertStdoutGrep --fixed-strings "$SIDA"
|
||||||
assertStdoutGrep --fixed-strings "$TWOA"
|
assertStdoutGrep --fixed-strings "$TWOA"
|
||||||
assertStdoutGrep --fixed-strings "$TWOB"
|
assertStdoutGrep --fixed-strings "$TWOB"
|
||||||
executeOk_servald id revoke sid "$TWOB"
|
executeOk_servald id relinquish sid "$TWOB"
|
||||||
tfw_cat --stderr
|
tfw_cat --stderr
|
||||||
executeOk_servald id self
|
executeOk_servald id self
|
||||||
assertStdoutLineCount == 2
|
assertStdoutLineCount == 2
|
||||||
|
@ -164,7 +164,7 @@ test_unlock_ids() {
|
|||||||
executeOk_servald id enter pin 'entry-pin'
|
executeOk_servald id enter pin 'entry-pin'
|
||||||
wait_until has_link +B +A +A $SIDA $SIDX
|
wait_until has_link +B +A +A $SIDA $SIDX
|
||||||
set_instance +A
|
set_instance +A
|
||||||
executeOk_servald id revoke pin 'entry-pin'
|
executeOk_servald id relinquish pin 'entry-pin'
|
||||||
set_instance +B
|
set_instance +B
|
||||||
wait_until --timeout=30 sid_offline $SIDX
|
wait_until --timeout=30 sid_offline $SIDX
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user