Fixed test for clickhouse-compressor [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-07-10 21:25:21 +03:00
parent 63e9b028f1
commit 382056e010

View File

@ -1,5 +1,5 @@
#!/bin/sh
./clickhouse-compressor < compressor > compressor.compressed
./clickhouse-compressor -d < compressor.compressed > compressor2
cmp compressor compressor2 && echo "Ok." || echo "Fail."
./clickhouse-compressor < clickhouse-compressor > compressed
./clickhouse-compressor -d < compressed > clickhouse-compressor2
cmp clickhouse-compressor clickhouse-compressor2 && echo "Ok." || echo "Fail."