]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Avoid Using `stat -c` on NetBSD 2513/head
authorW. Felix Handte <w@felixhandte.com>
Fri, 26 Feb 2021 18:05:39 +0000 (13:05 -0500)
committerW. Felix Handte <w@felixhandte.com>
Fri, 26 Feb 2021 18:05:39 +0000 (13:05 -0500)
Addresses #2493. I think. I don't have a NetBSD system to test on.

tests/playTests.sh

index ec1692c21620040ea0016be2675a12a5de7307a5..b99fd80f02f0a27f64d2ddef5ed9afaa88e93667 100755 (executable)
@@ -121,7 +121,7 @@ esac
 
 MTIME="stat -c %Y"
 case "$UNAME" in
-    Darwin | FreeBSD | OpenBSD) MTIME="stat -f %m" ;;
+    Darwin | FreeBSD | OpenBSD | NetBSD) MTIME="stat -f %m" ;;
 esac
 
 DIFF="diff"