summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Smyth <phillip.smyth@codethink.co.uk>2017-10-13 10:31:04 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-10-17 16:52:37 +0100
commitbf34af0a253be061340cb84e0237a8ffa7b57687 (patch)
tree01a7924307b7fa20b6ebfd0a0e9244500ea2e311
parentbc3b51898d7cf055ba75d518d43f995bf8e50476 (diff)
downloadgitano-bf34af0a253be061340cb84e0237a8ffa7b57687.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..58cfbc0 100644
--- a/testing/library.yarn
+++ b/testing/library.yarn
@@ -46,6 +46,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"