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>
Juan Batiz-Benet committed
Jul 28, 2015 at 05:56 UTC
a5521fcc765f391616b58beb91ea05ffe5652869
1 file changed
+1
test/sharness/t0080-repo.sh
+1
@@ -66,6 +66,7 @@ test_expect_success "file no longer pinned" '
66
'
67
68
test_expect_success "recursively pin afile" '
69
+ HASH=`ipfs add -q afile` &&
70
ipfs pin add -r "$HASH"
71
'
72