Skip to content

Commit

Permalink
fix the repo verify test
Browse files Browse the repository at this point in the history
We've added a new file to the flatfs datastore.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
  • Loading branch information
Stebalien committed Jun 2, 2018
1 parent c2c49c8 commit 8293e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sharness/t0086-repo-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sort_rand() {
}

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" '
cp "$to_break" backup_file &&
Expand Down

0 comments on commit 8293e20

Please sign in to comment.