1--- a/tests/playTests.sh
2+++ b/tests/playTests.sh
3@@ -119,16 +119,10 @@ case "$OS" in
4 esac
5
6 case "$UNAME" in
7- Darwin) MD5SUM="md5 -r" ;;
8- NetBSD) MD5SUM="md5 -n" ;;
9- OpenBSD) MD5SUM="md5" ;;
10 *) MD5SUM="md5sum" ;;
11 esac
12
13 MTIME="stat -c %Y"
14-case "$UNAME" in
15- Darwin | FreeBSD | OpenBSD | NetBSD) MTIME="stat -f %m" ;;
16-esac
17
18 assertSameMTime() {
19 MT1=$($MTIME "$1")
20@@ -138,9 +132,6 @@ assertSameMTime() {
21 }
22
23 GET_PERMS="stat -c %a"
24-case "$UNAME" in
25- Darwin | FreeBSD | OpenBSD | NetBSD) GET_PERMS="stat -f %Lp" ;;
26-esac
27
28 assertFilePermissions() {
29 STAT1=$($GET_PERMS "$1")
30@@ -1155,7 +1146,6 @@ $MD5SUM dirTestDict/* > tmph1
31 zstd -f --rm dirTestDict/* -D tmpDictC
32 zstd -d --rm dirTestDict/*.zst -D tmpDictC # note : use internal checksum by default
33 case "$UNAME" in
34- Darwin) println "md5sum -c not supported on OS-X : test skipped" ;; # not compatible with OS-X's md5
35 *) $MD5SUM -c tmph1 ;;
36 esac
37 rm -rf dirTestDict