diff --git a/test/sharness/t0252-files-gc.sh b/test/sharness/t0252-files-gc.sh index f5db0d33b..3666d7a48 100755 --- a/test/sharness/t0252-files-gc.sh +++ b/test/sharness/t0252-files-gc.sh @@ -38,9 +38,9 @@ test_expect_success "gc okay after adding incomplete node -- prep" ' ' test_expect_success "gc okay after adding incomplete node" ' - ipfs refs $ADIR_HASH && + ipfs object stat $ADIR_HASH && ipfs repo gc && - ipfs refs $ADIR_HASH + ipfs object stat $ADIR_HASH ' test_expect_success "add directory with direct pin" '