ClickHouse/utils/compressor/test.sh
2017-07-10 21:25:21 +03:00

6 lines
216 B
Bash
Executable File

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