summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-13 10:31:04 +0100
committerPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-13 17:35:41 +0100
commit88dd8095e4336a64a791237d8727535ba689f093 (patch)
tree20be83737a28e5308873ec0218729c2aeb08c8d7
parentbc3b51898d7cf055ba75d518d43f995bf8e50476 (diff)
downloadgitano-88dd8095e4336a64a791237d8727535ba689f093.tar.gz
Added ed25519 test implementation
-rw-r--r--testing/library.yarn3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/library.yarn b/testing/library.yarn
index cc03122..060c782 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -45,6 +45,9 @@ SSH keys. Sometimes it's helpful to be able to work with these...
IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*)
$GTT createsshkey "$MATCH_1" "$MATCH_2"
+
+ IMPLEMENTS GIVEN ([a-z][a-z0-9]*) has keys called ([a-z][a-z0-9]*) of type ([a-z][a-z0-9]*)
+ $GTT createsshkey "$MATCH_1" "$MATCH_2" "$MATCH_3"
IMPLEMENTS WHEN ([a-z][a-z0-9]*) uses their ssh public key called ([a-z][a-z0-9]*) as stdin
cp "$DATADIR/user-home-$MATCH_1/.ssh/$MATCH_2.pub" "$DATADIR/stdin"