diff options
Diffstat (limited to 'contrib/bmake/unit-tests/deptgt-interrupt.mk')
-rw-r--r-- | contrib/bmake/unit-tests/deptgt-interrupt.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/bmake/unit-tests/deptgt-interrupt.mk b/contrib/bmake/unit-tests/deptgt-interrupt.mk index d94009a52e05..9a3b4d9e81c9 100644 --- a/contrib/bmake/unit-tests/deptgt-interrupt.mk +++ b/contrib/bmake/unit-tests/deptgt-interrupt.mk @@ -1,10 +1,11 @@ -# $NetBSD: deptgt-interrupt.mk,v 1.3 2020/11/15 20:20:58 rillig Exp $ +# $NetBSD: deptgt-interrupt.mk,v 1.4 2022/01/22 21:50:41 rillig Exp $ # # Tests for the special target .INTERRUPT in dependency declarations, which # collects commands to be run when make is interrupted while building another # target. -# TODO: Implementation - all: - @:; + @kill -INT ${.MAKE.PID} + +.INTERRUPT: + @echo 'Ctrl-C' |