We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b526040 commit 78f513dCopy full SHA for 78f513d
delete_nonreduced_fuzz_inputs.sh
@@ -83,7 +83,8 @@ git clone --depth=1 --no-single-branch https://github.com/bitcoin/bitcoin.git
83
mkdir --parents "$FUZZ_TARGET_DIR/$ref_sha1"
84
# Allow timeouts and crashes with "-A", "-T all" to use all available cores
85
FUZZ=$fuzz_target afl-cmin -T all -A -i "../all_inputs/$fuzz_target" -o "$FUZZ_TARGET_DIR/$ref_sha1" -- ./build_fuzz/bin/fuzz
86
- mv "$FUZZ_TARGET_DIR/$ref_sha1/"* "$FUZZ_TARGET_DIR/"
+ # use cp instead of mv because mv fails if source and destination is same file
87
+ cp "$FUZZ_TARGET_DIR/$ref_sha1/"* "$FUZZ_TARGET_DIR/"
88
rm -r "$FUZZ_TARGET_DIR/$ref_sha1"
89
done
90
0 commit comments