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
+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