facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
15 lines
444 B
Bash
Executable File
15 lines
444 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Test --adapt
|
|
zstd -f file --adapt -c | zstd -t
|
|
|
|
datagen -g100M > file100M
|
|
|
|
# Pick parameters to force fast adaptation, even on slow systems
|
|
zstd --adapt -vvvv -19 --zstd=wlog=10 file100M -o /dev/null 2>&1 | grep -q "faster speed , lighter compression"
|
|
|
|
# Adaption still happens with --no-progress
|
|
zstd --no-progress --adapt -vvvv -19 --zstd=wlog=10 file100M -o /dev/null 2>&1 | grep -q "faster speed , lighter compression"
|