We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed43e9 commit edfd3c9Copy full SHA for edfd3c9
test/sharness/t0027-rotate.sh
@@ -46,6 +46,12 @@ test_rotate() {
46
esac
47
'
48
49
+ test_expect_success "'ipfs key rotate -o self' should fail" '
50
+ echo "Error: keystore name for back up cannot be named '\''self'\''" >expected-self
51
+ test_must_fail ipfs key rotate -o self 2>actual-self &&
52
+ test_cmp expected-self actual-self
53
+ '
54
+
55
test_expect_success "Compare second ID and key to first" '
56
ipfs id -f="<id>" > second_id &&
57
ipfs id -f="<pubkey>" > second_key &&
0 commit comments