Skip to content

Commit

Permalink
tests: fix non-regular file test on GNU/Hurd
Browse files Browse the repository at this point in the history
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
  • Loading branch information
diegonc committed Dec 10, 2024
1 parent 709be6c commit 4a4786b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/playTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ isTerminal=${isTerminal:-$detectedTerminal}

isWindows=false
INTOVOID="/dev/null"
case "$UNAME" in
GNU) DEVDEVICE="/dev/random" ;;
*) DEVDEVICE="/dev/zero" ;;
esac
DEVDEVICE="/dev/zero"
case "$OS" in
Windows*)
isWindows=true
Expand Down

0 comments on commit 4a4786b

Please sign in to comment.