mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-24 12:58:39 +00:00
* tests/scripts/features/reinvoke: [SV 62088] Close STDIN
On Windows we can't delete open files, so close STDIN before removing the temporary input file.
This commit is contained in:
parent
51c1c07e7a
commit
b264d3d4f8
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ open(STDIN, "<", 'input.mk') || die "input.mk: $!\n";
|
|||
|
||||
run_make_test('', '-sf -', "all\n");
|
||||
|
||||
close(STDIN);
|
||||
unlink('input.mk');
|
||||
|
||||
# This tells the test driver that the perl test script executed properly.
|
||||
|
|
Loading…
Reference in a new issue