Integrate LZ4 library, compress the ramdisk
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m53s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m53s
This commit is contained in:
19
lz4/tests/test-lz4-skippable.sh
Executable file
19
lz4/tests/test-lz4-skippable.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
SKIPFILE="goldenSamples/skip.bin"
|
||||
FPREFIX="tmp-lsk"
|
||||
|
||||
set -e
|
||||
|
||||
remove () {
|
||||
rm "$FPREFIX"*
|
||||
}
|
||||
|
||||
trap remove EXIT
|
||||
|
||||
set -x
|
||||
|
||||
lz4 -dc $SKIPFILE
|
||||
lz4 -dc < $SKIPFILE
|
||||
printf "Hello from Valid Frame!\n" | lz4 -c > $FPREFIX.lz4
|
||||
cat $SKIPFILE $FPREFIX.lz4 $SKIPFILE | lz4 -dc
|
||||
Reference in New Issue
Block a user