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.
42 lines
1.0 KiB
Bash
Executable File
42 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
. "$COMMON/platform.sh"
|
|
|
|
set -e
|
|
|
|
println >&2 "Tests cases where progress information should be printed"
|
|
|
|
echo hello > hello
|
|
echo world > world
|
|
|
|
zstd -q hello world
|
|
|
|
for args in \
|
|
"--progress" \
|
|
"--fake-stderr-is-console" \
|
|
"--progress --fake-stderr-is-console -q"; do
|
|
println >&2 "args = $args"
|
|
println >&2 "compress file to file"
|
|
zstd $args -f hello
|
|
println >&2 "compress pipe to pipe"
|
|
zstd $args < hello > $INTOVOID
|
|
println >&2 "compress pipe to file"
|
|
zstd $args < hello -fo hello.zst
|
|
println >&2 "compress file to pipe"
|
|
zstd $args hello -c > $INTOVOID
|
|
println >&2 "compress 2 files"
|
|
zstd $args -f hello world
|
|
|
|
println >&2 "decompress file to file"
|
|
zstd $args -d -f hello.zst
|
|
println >&2 "decompress pipe to pipe"
|
|
zstd $args -d < hello.zst > $INTOVOID
|
|
println >&2 "decompress pipe to file"
|
|
zstd $args -d < hello.zst -fo hello
|
|
println >&2 "decompress file to pipe"
|
|
zstd $args -d hello.zst -c > $INTOVOID
|
|
println >&2 "decompress 2 files"
|
|
zstd $args -d -f hello.zst world.zst
|
|
println >&2 ""
|
|
done
|