Merge pull request #1839 from bimbashrestha/named_pipes

Allowing named pipes to go through in zstdcli
This commit is contained in:
Yann Collet
2019-10-24 10:53:12 -07:00
committed by GitHub
5 changed files with 26 additions and 2 deletions
+10
View File
@@ -1099,4 +1099,14 @@ test -f dictionary
rm -f tmp* dictionary
println "\n===> zstd fifo named pipe test "
head -c 10 /dev/zero > tmp_original
mkfifo named_pipe
head -c 10 /dev/zero > named_pipe &
$ZSTD named_pipe -o tmp_compressed
$ZSTD -d -o tmp_decompressed tmp_compressed
$DIFF -s tmp_original tmp_decompressed
rm -rf tmp*
rm -rf named_pipe
rm -f tmp*