summaryrefslogtreecommitdiff
path: root/tests/scripts/misc/close_stdout
blob: c4edbd660c67bbe5c81b9c33631366c912a7bbb6 (plain)
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;