fix the repo verify test
We've added a new file to the flatfs datastore. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jun 1, 2018 at 13:09 UTC
8293e20aae590529e1da014a1e5d94d4b5cf7d6d
1 file changed
+1
-1
test/sharness/t0086-repo-verify.sh
+1
-1
@@ -24,7 +24,7 @@ sort_rand() {
24
}
25
26
check_random_corruption() {
27
- to_break=$(find "$IPFS_PATH/blocks" -type f | grep -v README | grep -v SHARDING | sort_rand | head -n 1)
27
+ to_break=$(find "$IPFS_PATH/blocks" -type f -name '*.data' | sort_rand | head -n 1)
28
29
test_expect_success "back up file and overwrite it" '
30
cp "$to_break" backup_file &&