mte/unikernel/duniverse/dune_/test/blackbox-tests/test-cases/signal-exit-code.t

15 lines
250 B
Perl
Raw Normal View History

2025-11-11 02:07:51 +01:00
Demonstrate the exit code once dune is interrupted by a signal
$ cat >dune-project <<EOF
> (lang dune 3.2)
> EOF
$ cat >dune <<EOF
> (rule
> (alias all)
> (action (system "kill -s INT \$PPID")))
> EOF
$ dune build @all
[130]