mirror of
https://github.com/mirror/make.git
synced 2026-08-31 03:38:03 +08:00
Fix Savannah bug # 1328: if stdout is redirected to a full filesystem, we
check for this and exit with an error. The closeout.c version from gnulib pulls in too much other stuff, and gnulib requires an ANSI C 89 compliant compiler, while GNU make (so far) still wants to work on K&R.
This commit is contained in:
9
tests/scripts/misc/close_stdout
Normal file
9
tests/scripts/misc/close_stdout
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*-perl-*-
|
||||
|
||||
$description = "Make sure make exits with an error if stdout is full.";
|
||||
|
||||
if (-e '/dev/full') {
|
||||
run_make_test('', '-v > /dev/full', '#MAKE#: write error', 256);
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in New Issue
Block a user