summaryrefslogtreecommitdiff
path: root/testing/02-commands-sshkey.yarn
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 17:08:33 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 17:08:33 +0000
commitd088b8644552f4e9841e066d541431350659e38a (patch)
treecd1a77a10fb061265cb06d46085133980bd2661c /testing/02-commands-sshkey.yarn
parentede13a945f93608fbebcd15c4e599b7d2f473e6f (diff)
downloadgitano-d088b8644552f4e9841e066d541431350659e38a.tar.gz
If you try to sshkey del the key you're using, you get told you can't
Diffstat (limited to 'testing/02-commands-sshkey.yarn')
-rw-r--r--testing/02-commands-sshkey.yarn6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/02-commands-sshkey.yarn b/testing/02-commands-sshkey.yarn
index c1f36c6..4d79a25 100644
--- a/testing/02-commands-sshkey.yarn
+++ b/testing/02-commands-sshkey.yarn
@@ -38,12 +38,10 @@ except for removing the new key,
since it is not possible to remove the key that is being used to authenticate
as a protection against accidentally locking yourself out.
-<!-- TODO: COMMENTED OUT BECAUSE WE CURRENTLY CAN DELETE OUR KEY
WHEN testinstance adminkey, expecting failure, runs sshkey del adminkey
- THEN failure ensues
+ THEN stderr contains is in use
WHEN testinstance newkey, expecting failure, runs sshkey del newkey
- THEN failure ensues
--->
+ THEN stderr contains is in use
We can delete the old key and proceed with the new key in future.