==== cksum ==== cksum -x | cmp -s /home/src/regress/bin/md5/testsuite.cksum /dev/stdin ==== md5 ==== md5 -x | cmp -s /home/src/regress/bin/md5/testsuite.md5 /dev/stdin ==== sha1 ==== sha1 -x | cmp -s /home/src/regress/bin/md5/testsuite.sha1 /dev/stdin ==== sha224 ==== cksum -a sha224 -x | cmp -s /home/src/regress/bin/md5/testsuite.sha224 /dev/stdin ==== sha256 ==== sha256 -x | cmp -s /home/src/regress/bin/md5/testsuite.sha256 /dev/stdin ==== sha384 ==== cksum -a sha384 -x | cmp -s /home/src/regress/bin/md5/testsuite.sha384 /dev/stdin ==== sha512 ==== sha512 -x | cmp -s /home/src/regress/bin/md5/testsuite.sha512 /dev/stdin ==== md5_string_vs_files ==== if md5 -s "" /dev/null >/dev/null 2>&1; then false ; fi ==== md5_pipe ==== echo hi | md5 -p | cmp -s /home/src/regress/bin/md5/pipe_test.md5 /dev/stdin ==== md5_pipe_vs_file ==== if echo hi | md5 -p /dev/null >/dev/null 2>&1; then false ; fi ==== md5_multiple_files ==== if [ `md5 /dev/null /dev/null | wc -l` != 2 ]; then false ; fi