sharness/repo: fix pinning test

looks like the test was broken by GC-ing everything.
the pin expects $HASH to still be there.

License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
This commit is contained in:
Juan Batiz-Benet 2015-07-28 05:56:14 -07:00
parent 29f67b4275
commit a5521fcc76

View File

@ -66,6 +66,7 @@ test_expect_success "file no longer pinned" '
'
test_expect_success "recursively pin afile" '
HASH=`ipfs add -q afile` &&
ipfs pin add -r "$HASH"
'