tst.discard.ksh (178477) | tst.discard.ksh (277910) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 22 unchanged lines hidden (view full) --- 31# 32# If this fails, the script will run indefinitely; it relies on the harness 33# to time it out. 34# 35script() 36{ 37 $dtrace -s /dev/stdin <<EOF 38 proc:::signal-discard | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 22 unchanged lines hidden (view full) --- 31# 32# If this fails, the script will run indefinitely; it relies on the harness 33# to time it out. 34# 35script() 36{ 37 $dtrace -s /dev/stdin <<EOF 38 proc:::signal-discard |
39 /args[1]->pr_pid == $child && | 39 /args[1]->p_pid == $child && |
40 args[1]->pr_psargs == "$longsleep" && args[2] == SIGHUP/ 41 { 42 exit(0); 43 } 44EOF 45} 46 47killer() --- 27 unchanged lines hidden --- | 40 args[1]->pr_psargs == "$longsleep" && args[2] == SIGHUP/ 41 { 42 exit(0); 43 } 44EOF 45} 46 47killer() --- 27 unchanged lines hidden --- |