From a5521fcc765f391616b58beb91ea05ffe5652869 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Tue, 28 Jul 2015 05:56:14 -0700 Subject: [PATCH] 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 --- test/sharness/t0080-repo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/sharness/t0080-repo.sh b/test/sharness/t0080-repo.sh index d9e857020..012f87f75 100755 --- a/test/sharness/t0080-repo.sh +++ b/test/sharness/t0080-repo.sh @@ -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" '