提交 8293e20a 作者: Steven Allen

fix the repo verify test

We've added a new file to the flatfs datastore.

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 c2c49c88
...@@ -24,7 +24,7 @@ sort_rand() { ...@@ -24,7 +24,7 @@ sort_rand() {
} }
check_random_corruption() { check_random_corruption() {
to_break=$(find "$IPFS_PATH/blocks" -type f | grep -v README | grep -v SHARDING | sort_rand | head -n 1) to_break=$(find "$IPFS_PATH/blocks" -type f -name '*.data' | sort_rand | head -n 1)
test_expect_success "back up file and overwrite it" ' test_expect_success "back up file and overwrite it" '
cp "$to_break" backup_file && cp "$to_break" backup_file &&
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论