go: ./this-pylint --to-pylint reblock modunits.py pep8 --max-line-length=132 reblock modunits.py cat infile | ./reblock -e 10 -b 3 > ./outfile; cmp -s infile outfile if cat infile | ./reblock -b 2 > /dev/null 2>&1; then echo Should not have succeeded; fi cat infile | ./reblock -e 10 -b 7 -t 300 > ./outfile; cmp -s infile outfile cat infile | ./reblock -p -e 10 -b 7 -t 300 > ./outfile; if cmp -s infile outfile; then echo Should not have succeeded; fi @echo Expect a timeout from this if (seq 100; sleep 20; seq 100) | ./reblock -e 584 -b 100 -t 10 > /dev/null; then echo Should not have succeeded; fi @echo All tests passed install: ./install-file --file reblock --directory /usr/local/bin/. ./install-file --file reblock-du-tar --directory /usr/local/bin/. ./install-file --file reblock-backshift-extract --directory /usr/local/bin/. ./install-file --file modunits.py --directory /usr/local/lib/. clean: rm -f outfile services reblockc *.pyc rm -rf __pycache__