File: close_stdout

package info (click to toggle)
make-doc-non-dfsg 4.4.1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 9,632 kB
  • sloc: ansic: 31,255; sh: 5,213; perl: 1,612; makefile: 160; lisp: 26; sed: 16
file content (12 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#                                                                    -*-perl-*-

$description = "Make sure make exits with an error if stdout is full.";

-e '/dev/full' or return -1;

# In Strawberry Perl, /dev/full "exists" but does nothing :-/
$port_type eq 'W32' and return -1;

run_make_test("\n", '-v > /dev/full', '/^#MAKE#: write error/', 256);

1;