Files
Jackie Huang aae40f506a libmhash: add new recipe
Mhash is a free (under GNU Lesser GPL) library which provides
a uniform interface to a large number of hash algorithms.
These algorithms can be used to compute checksums, message
digests, and other signatures.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-08-13 08:26:14 -07:00

13 lines
217 B
Bash

#!/bin/sh
OUTPUT=$($(dirname $0)/mhash)
MHASH_MD5="0x750c783e6ab0b503eaa86e310a5db738"
if [ x"$OUTPUT" = x"$MHASH_MD5" ]; then
echo "PASS: mhash ptest"
exit 0
else
echo "FAIL: mhash ptest"
exit 1
fi