summary refs log tree commit diff
path: root/bin/cash/tests/builtins/trap17.0
blob: ec2e5870a639d7d58f9ee94e15523abfbb450320 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/trap17.0 297360 2016-03-28 18:58:40Z jilles $
# This use-after-free bug probably needs non-default settings to show up.

v1=nothing v2=nothing
trap 'trap "echo bad" USR1
v1=trap_received
v2=trap_invoked
:' USR1
kill -USR1 "$$"
[ "$v1.$v2" = trap_received.trap_invoked ]
p1&id=a0ff0d5c46d439341d2d135a9864a9e5f8ff9055&follow=1'>Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe