mirror of
https://github.com/facebook/zstd.git
synced 2025-12-08 00:03:24 -05:00
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:
commit
0218c8de0f
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user