From: Serge Hallyn Date: Fri, 20 Jan 2023 21:18:00 +0000 (-0600) Subject: drop broken lxc-test-fuzzers X-Git-Tag: v6.0.0~69^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4263%2Fhead;p=thirdparty%2Flxc.git drop broken lxc-test-fuzzers Closes #4261 Signed-off-by: Serge Hallyn --- diff --git a/src/tests/lxc-test-fuzzers b/src/tests/lxc-test-fuzzers deleted file mode 100755 index bb0ece13a..000000000 --- a/src/tests/lxc-test-fuzzers +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -eux -set -o pipefail - -TMP_DIR=$(mktemp -d) -export ASAN_OPTIONS=${ASAN_OPTIONS:-detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:strict_string_checks=1} -export UBSAN_OPTIONS=${UBSAN_OPTIONS:-print_stacktrace=1:print_summary=1:halt_on_error=1} - -cleanup() { - rm -rf "$TMP_DIR" -} - -trap cleanup exit - -for fuzzer in /usr/bin/fuzz-lxc-*; do - name=$(basename "$fuzzer") - corpus_dir="$TMP_DIR/$name" - - mkdir -p "$corpus_dir" - if wget --directory-prefix="$TMP_DIR" https://storage.googleapis.com/lxc-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/lxc_$name/public.zip; then - unzip -q -d "$corpus_dir" "$TMP_DIR/public.zip" - fi - "$fuzzer" -max_total_time=120 "$corpus_dir" -done