ClickHouse/utils/compressor/test.sh

6 lines
194 B
Bash
Raw Normal View History

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