Ensure that /dev/full is a character device
authorJim Meyering <jim@meyering.net>
Fri, 9 Mar 2001 18:03:22 +0000 (18:03 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 9 Mar 2001 18:03:22 +0000 (18:03 +0000)
commit115c65d3f466401f9804565f5ed333336e003c63
tree6c71df99e1c96fcfb774bcb0b421b49e2200f74e
parent3bb36380c3cf56e10586aa850ceb4d43ba8dfbc8
Ensure that /dev/full is a character device
(using test -c) as well as being writable, before trying to write to it.
Otherwise, the test could mistakenly append a newline to an existing,
regular, writable, /dev/full file.
Suggested by Ulrich Drepper.
tests/help-version