From 836b47cb7e99a977c5a23b059ca1d0b5065d310e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 24 Jul 2024 11:54:23 +0200 Subject: Merging upstream version 1.46.3. Signed-off-by: Daniel Baumann --- fluent-bit/lib/miniz/test.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 fluent-bit/lib/miniz/test.sh (limited to 'fluent-bit/lib/miniz/test.sh') diff --git a/fluent-bit/lib/miniz/test.sh b/fluent-bit/lib/miniz/test.sh deleted file mode 100644 index 6eab34515..000000000 --- a/fluent-bit/lib/miniz/test.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -set -e - -. amalgamate.sh - -cat << "EOF" > miniz_export.h -#ifndef MINIZ_EXPORT -#define MINIZ_EXPORT -#endif -EOF -g++ tests/miniz_tester.cpp tests/timer.cpp amalgamation/miniz.c -o miniz_tester -I. -ggdb -O2 - -for i in 1 2 3 4 5 6 -do - gcc examples/example$i.c amalgamation/miniz.c -o example$i -lm -I. -ggdb -done - -mkdir -p test_scratch -if ! test -e "test_scratch/linux-4.8.11" -then - cd test_scratch - wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.8.11.tar.xz -O linux-4.8.11.tar.xz - tar xf linux-4.8.11.tar.xz - cd .. -fi - -cd test_scratch -../miniz_tester -v a linux-4.8.11 -../miniz_tester -v -r a linux-4.8.11 -../miniz_tester -v -b -r a linux-4.8.11 -../miniz_tester -v -a a linux-4.8.11 - -mkdir -p large_file -truncate -s 5G large_file/lf -../miniz_tester -v -a a large_file -- cgit v1.2.3