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 96c99d5 commit 002930dCopy full SHA for 002930d
test/sharness/t0040-add-and-cat.sh
@@ -373,6 +373,11 @@ test_expect_success "ipfs add --only-hash succeeds" '
373
echo "unknown content for only-hash" | ipfs add --only-hash -q > oh_hash
374
'
375
376
+test_expect_success "'ipfs add --no-pin does not pin" '
377
+ echo "ipfs add --no-pin test - fslkfjdlsk" | ipfs add --no-pin -q | head -1 > hash
378
+ test_must_fail ipfs pin ls $(cat hash)
379
+'
380
+
381
#TODO: this doesn't work when online hence separated out from test_add_cat_file
382
test_expect_success "ipfs cat file fails" '
383
test_must_fail ipfs cat $(cat oh_hash)
0 commit comments