Module Name: src
Committed By: rillig
Date: Tue Dec 22 08:23:12 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: opt-file.mk
Log Message:
make(1): clean up after test opt-file
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/opt-file.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/opt-file.mk
diff -u src/usr.bin/make/unit-tests/opt-file.mk:1.8 src/usr.bin/make/unit-tests/opt-file.mk:1.9
--- src/usr.bin/make/unit-tests/opt-file.mk:1.8 Tue Dec 22 08:05:08 2020
+++ src/usr.bin/make/unit-tests/opt-file.mk Tue Dec 22 08:23:12 2020
@@ -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: .PHONY
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