ClickHouse/utils/compressor/test.sh

6 lines
172 B
Bash
Raw Normal View History

#!/bin/sh
2014-02-24 03:14:30 +00:00
./compressor < compressor > compressor.compressed
./compressor -d < compressor.compressed > compressor2
cmp compressor compressor2 && echo "Ok." || echo "Fail."