X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php84-brotli_0.5.0-3.el8/brotli/tests
opt
/
alt
/
tests
/
alt-php84-brotli_0.5.0-3.el8
/
brotli
/
tests
/
ðŸ“
..
📄
Makefile
(260 B)
📄
compatibility_test.sh
(558 B)
📄
roundtrip_test.sh
(756 B)
📄
run-compatibility-test.cmake
(1.04 KB)
📄
run-roundtrip-test.cmake
(1.05 KB)
ðŸ“
testdata
Editing: compatibility_test.sh
#!/usr/bin/bash # # Test that the brotli command-line tool can decompress old brotli-compressed # files. set -o errexit BROTLI=bin/brotli TMP_DIR=bin/tmp for file in tests/testdata/*.compressed*; do echo "Testing decompression of file $file" expected=${file%.compressed*} uncompressed=${TMP_DIR}/${expected##*/}.uncompressed echo $uncompressed $BROTLI $file -fdo $uncompressed diff -q $uncompressed $expected # Test the streaming version cat $file | $BROTLI -dc > $uncompressed diff -q $uncompressed $expected rm -f $uncompressed done
Upload File
Create Folder