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 2024-12-16 20:43:34 -08:00 committed by GitHub
commit 0218c8de0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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