From daf3ab0aad663fc0c5217593b830caa06f6032ac Mon Sep 17 00:00:00 2001 From: bket Date: Mon, 2 Apr 2018 23:12:18 +0200 Subject: [PATCH] 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. --- tests/playTests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/playTests.sh b/tests/playTests.sh index 49448022..32190daa 100755 --- a/tests/playTests.sh +++ b/tests/playTests.sh @@ -69,6 +69,7 @@ UNAME=$(uname) case "$UNAME" in Darwin) MD5SUM="md5 -r" ;; FreeBSD) MD5SUM="gmd5sum" ;; + OpenBSD) MD5SUM="md5" ;; *) MD5SUM="md5sum" ;; esac @@ -258,7 +259,7 @@ rm ./*.tmp ./*.zstd $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 "$ECHO foo | $ZSTD > /dev/full"