Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
edfd3c97
Unverified
Commit
edfd3c97
authored
Aug 21, 2020
by
Jacob Heun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: add rotate self test
parent
0ed43e90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test/sharness/t0027-rotate.sh
test/sharness/t0027-rotate.sh
+6
-0
No files found.
test/sharness/t0027-rotate.sh
View file @
edfd3c97
...
...
@@ -46,6 +46,12 @@ test_rotate() {
esac
'
test_expect_success
"'ipfs key rotate -o self' should fail"
'
echo "Error: keystore name for back up cannot be named '
\'
'self'
\'
'" >expected-self
test_must_fail ipfs key rotate -o self 2>actual-self &&
test_cmp expected-self actual-self
'
test_expect_success
"Compare second ID and key to first"
'
ipfs id -f="<id>" > second_id &&
ipfs id -f="<pubkey>" > second_key &&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment