Skip to content

Commit

Permalink
Merge pull request #3619 from ipfs/fix/random-repo-test-failure
Browse files Browse the repository at this point in the history
Fix/random repo test failure
  • Loading branch information
whyrusleeping authored Jan 21, 2017
2 parents 42cb5d4 + e5bc81a commit 585a0d9
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 | sort_rand | head -n 1)
to_break=$(find "$IPFS_PATH/blocks" -type f | grep -v README | grep -v SHARDING | 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 585a0d9

Please sign in to comment.