Make sure that make check runs on OpenBSD. (#1091)
OpenBSD uses md5 instead of md5sum, and has no device called full. With this patch, make check runs until #1088. With the assumption made in the issue make check runs succesfully.
This commit is contained in:
parent
754a821f17
commit
daf3ab0aad
@ -69,6 +69,7 @@ UNAME=$(uname)
|
|||||||
case "$UNAME" in
|
case "$UNAME" in
|
||||||
Darwin) MD5SUM="md5 -r" ;;
|
Darwin) MD5SUM="md5 -r" ;;
|
||||||
FreeBSD) MD5SUM="gmd5sum" ;;
|
FreeBSD) MD5SUM="gmd5sum" ;;
|
||||||
|
OpenBSD) MD5SUM="md5" ;;
|
||||||
*) MD5SUM="md5sum" ;;
|
*) MD5SUM="md5sum" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -258,7 +259,7 @@ rm ./*.tmp ./*.zstd
|
|||||||
$ECHO "frame concatenation tests completed"
|
$ECHO "frame concatenation tests completed"
|
||||||
|
|
||||||
|
|
||||||
if [ "$isWindows" = false ] && [ "$UNAME" != 'SunOS' ] ; then
|
if [ "$isWindows" = false ] && [ "$UNAME" != 'SunOS' ] && [ "$UNAME" != "OpenBSD" ] ; then
|
||||||
$ECHO "\n**** flush write error test **** "
|
$ECHO "\n**** flush write error test **** "
|
||||||
|
|
||||||
$ECHO "$ECHO foo | $ZSTD > /dev/full"
|
$ECHO "$ECHO foo | $ZSTD > /dev/full"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user