1 echo "Building random dictionary with in=../../lib/common k=200 out=dict1"
2 ./main in=../../../lib/common k=200 out=dict1
3 zstd -be3 -D dict1 -r ../../../lib/common -q
4 echo "Building random dictionary with in=../../lib/common k=500 out=dict2 dictID=100 maxdict=140000"
5 ./main in=../../../lib/common k=500 out=dict2 dictID=100 maxdict=140000
6 zstd -be3 -D dict2 -r ../../../lib/common -q
7 echo "Building random dictionary with 2 sample sources"
8 ./main in=../../../lib/common in=../../../lib/compress out=dict3
9 zstd -be3 -D dict3 -r ../../../lib/common -q
10 echo "Removing dict1 dict2 dict3"
11 rm -f dict1 dict2 dict3
13 echo "Testing with invalid parameters, should fail"