fix broken gc test
`ipfs refs` won't work because we don't have the referenced objects (ipfs refs fetches everything it prints). License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Sep 17, 2018 at 11:40 UTC
08cc8552e25a6f7fd658a2b954395fb9d1f8f375
1 file changed
+2
-2
test/sharness/t0252-files-gc.sh
+2
-2
@@ -38,9 +38,9 @@ test_expect_success "gc okay after adding incomplete node -- prep" '
38
'
39
40
test_expect_success "gc okay after adding incomplete node" '
41
- ipfs refs $ADIR_HASH &&
41
+ ipfs object stat $ADIR_HASH &&
42
ipfs repo gc &&
43
- ipfs refs $ADIR_HASH
43
+ ipfs object stat $ADIR_HASH
44
'
45
46
test_expect_success "add directory with direct pin" '