tests: fix non-regular file test on GNU/Hurd
Since commit b21b03ca6 [1] the behaviour of writes to /dev/zero has been fixed and now the non-regular file removal test no longer needs to be done on /dev/random (which no longer works as random is not writable now). [1] https://git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=b21b03ca624b89caeedfe58430cea4b40317d39f
This commit is contained in:
+1
-4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user