aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-01-26 22:12:11 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-01-27 21:31:42 +0000
commitcc668d06fb71463fd406df761b0e89e25d4de968 (patch)
tree303546c99bff8b3dbbac580521215199bd36d360 /test
parentccc3c76e2b5d28a2372ae5752c08256396bf43e6 (diff)
downloadbitcoin-cc668d06fb71463fd406df761b0e89e25d4de968.tar.xz
tests: Add fuzzing harness for strprintf(...)
Diffstat (limited to 'test')
-rwxr-xr-xtest/lint/lint-format-strings.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-format-strings.sh b/test/lint/lint-format-strings.sh
index 6cb486689b..184c3682c8 100755
--- a/test/lint/lint-format-strings.sh
+++ b/test/lint/lint-format-strings.sh
@@ -34,7 +34,7 @@ if ! python3 -m doctest test/lint/lint-format-strings.py; then
fi
for S in "${FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS[@]}"; do
IFS="," read -r FUNCTION_NAME SKIP_ARGUMENTS <<< "${S}"
- for MATCHING_FILE in $(git grep --full-name -l "${FUNCTION_NAME}" -- "*.c" "*.cpp" "*.h" | sort | grep -vE "^src/(leveldb|secp256k1|tinyformat|univalue)"); do
+ for MATCHING_FILE in $(git grep --full-name -l "${FUNCTION_NAME}" -- "*.c" "*.cpp" "*.h" | sort | grep -vE "^src/(leveldb|secp256k1|tinyformat|univalue|test/fuzz/strprintf.cpp)"); do
MATCHING_FILES+=("${MATCHING_FILE}")
done
if ! test/lint/lint-format-strings.py --skip-arguments "${SKIP_ARGUMENTS}" "${FUNCTION_NAME}" "${MATCHING_FILES[@]}"; then