diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-10-05 16:25:56 +0000 |
|---|---|---|
| committer | <> | 2015-02-04 09:41:42 +0000 |
| commit | 9de84c07c0648cde63bfcd2769b07faf86668e1a (patch) | |
| tree | 6460e009c267f3712a693403b2dbdf161ab0941b /tests/scripts/misc/fopen-fail | |
| download | make-tarball-master.tar.gz | |
Diffstat (limited to 'tests/scripts/misc/fopen-fail')
| -rw-r--r-- | tests/scripts/misc/fopen-fail | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/scripts/misc/fopen-fail b/tests/scripts/misc/fopen-fail new file mode 100644 index 0000000..6580e51 --- /dev/null +++ b/tests/scripts/misc/fopen-fail @@ -0,0 +1,15 @@ +# -*-perl-*- + +$description = "Make sure make exits with an error if fopen fails."; + +# Recurse infinitely until we run out of open files, and ensure we +# fail with a non-zero exit code. Don't bother to test the output +# since it's hard to know what it will be, exactly. +# See Savannah bug #27374. + +run_make_test(q! +include $(lastword $(MAKEFILE_LIST)) +!, + '', undef, 512); + +1; |
