Merge pull request #1235 from ldv-alt/dev

tests: use /dev/zero instead of /dev/random on all systems except GNU/Hurd
This commit is contained in:
Nick Terrell 2018-07-12 16:56:54 -07:00 committed by GitHub
commit aa2415402d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,8 +59,8 @@ fi
isWindows=false
INTOVOID="/dev/null"
case "$UNAME" in
OpenBSD) DEVDEVICE="/dev/zero" ;;
*) DEVDEVICE="/dev/random" ;;
GNU) DEVDEVICE="/dev/random" ;;
*) DEVDEVICE="/dev/zero" ;;
esac
case "$OS" in
Windows*)