]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/scripts/features/reinvoke: Warn about closing STDIN.
authorPaul Smith <psmith@gnu.org>
Thu, 12 Jan 2023 00:17:07 +0000 (19:17 -0500)
committerPaul Smith <psmith@gnu.org>
Thu, 12 Jan 2023 01:35:11 +0000 (20:35 -0500)
* tests/scripts/features/temp_stdin: Ditto.
* tests/scripts/options/dash-f: Ditto.

tests/scripts/features/reinvoke
tests/scripts/features/temp_stdin
tests/scripts/options/dash-f

index 14e6b479f1204fbddb3e19c7043d8e2df3f46c64..e6baedc9bbc92d358e06ac6b727a200e1b0d236a 100644 (file)
@@ -163,7 +163,7 @@ include hello.d
 
 unlink('hello.td');
 
-# Test DV 62088 : make sure we don't re-invoke for stdin makefiles.
+# Test SV 62088 : make sure we don't re-invoke for stdin makefiles.
 # The test framework doesn't seem to have a good way to do this.
 
 create_file('input.mk', "all:;\$(info all)\n");
@@ -173,6 +173,8 @@ open(STDIN, "<", 'input.mk') || die "input.mk: $!\n";
 
 run_make_test('', '-sf -', "all\n");
 
+
+# This close MUST come at the end of the test!!
 close(STDIN);
 unlink('input.mk');
 
index 5230f36755d7913bba0524c98f54cc6f7c4399e9..d7dde709fc7eccf99b1f0079492ab81952a4c953 100644 (file)
@@ -128,6 +128,7 @@ all:; $(info hello, world)
 rmdir($tdir);
 }
 
+# This close MUST come at the end of the test!!
 close(STDIN);
 unlink('input.mk', 'bye.mk');
 
index ab225cefe74a525fcd9e28be35fe2613dc947283..b241606449751e7fa87f1e647a2104a9ed5697e7 100644 (file)
@@ -155,6 +155,8 @@ for my $opt (@opts) {
     run_make_test('', "-f$bye $opt", $answer);
 }
 
+
+# This close MUST come at the end of the test!!
 close(STDIN);
 unlink($hello, $bye, $byesrc);