Skip to content

Commit

Permalink
don't select README or SHARDING file for random corruption in t0086
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Jan 21, 2017
1 parent 42cb5d4 commit d7dbb08
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

1 comment on commit d7dbb08

@GitCop
Copy link

@GitCop GitCop commented on d7dbb08 Jan 21, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There were the following issues with your Pull Request

We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend can often help you quickly improve the commit message.
Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.


This message was auto-generated by https://gitcop.com

Please sign in to comment.