Merge pull request #4212 from diegonc/t/fix-test-on-gnuhurd

tests: fix non-regular file test on GNU/Hurd
This commit is contained in:
Yann Collet authored and GitHub committed 2024-12-16 20:43:34 -08:00
commit 0218c8de0f
1 file changed
+1 -4
+1 -4
View File
@@ -109,10 +109,7 @@ isTerminal=${isTerminal:-$detectedTerminal}
isWindows=false isWindows=false
INTOVOID="/dev/null" INTOVOID="/dev/null"
case "$UNAME" in DEVDEVICE="/dev/zero"
GNU) DEVDEVICE="/dev/random" ;;
*) DEVDEVICE="/dev/zero" ;;
esac
case "$OS" in case "$OS" in
Windows*) Windows*)
isWindows=true isWindows=true