Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests make(1): clean up after test opt-file



details:   https://anonhg.NetBSD.org/src/rev/cb50edf50610
branches:  trunk
changeset: 948242:cb50edf50610
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Dec 22 08:23:12 2020 +0000

description:
make(1): clean up after test opt-file

diffstat:

 usr.bin/make/unit-tests/opt-file.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 05a386b4c57c -r cb50edf50610 usr.bin/make/unit-tests/opt-file.mk
--- a/usr.bin/make/unit-tests/opt-file.mk       Tue Dec 22 08:10:39 2020 +0000
+++ b/usr.bin/make/unit-tests/opt-file.mk       Tue Dec 22 08:23:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: opt-file.mk,v 1.8 2020/12/22 08:05:08 rillig Exp $
+# $NetBSD: opt-file.mk,v 1.9 2020/12/22 08:23:12 rillig Exp $
 #
 # Tests for the -f command line option.
 
@@ -43,6 +43,7 @@
 file-ending-in-backslash-mmap: .PHONY
        @printf '%s' 'VAR=value\' > opt-file-backslash
        @${MAKE} -r -f opt-file-backslash -V VAR
+       @rm opt-file-backslash
 
 # If a file contains null bytes, the rest of the line is skipped, and parsing
 # continues in the next line.  Throughout the history of make, the behavior



Home | Main Index | Thread Index | Old Index