Differential D891 Diff 1879 cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh
Changeset View
Changeset View
Standalone View
Standalone View
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/tst.userlandkey.ksh
Show All 32 Lines | |||||
if [[ $? -ne 0 ]]; then | if [[ $? -ne 0 ]]; then | ||||
echo "CTF does not exist in $exe, that's a bug" >&2 | echo "CTF does not exist in $exe, that's a bug" >&2 | ||||
exit 1 | exit 1 | ||||
fi | fi | ||||
./$exe & | ./$exe & | ||||
pid=$! | pid=$! | ||||
$dtrace -32 -qs /dev/stdin <<EOF | $dtrace -qs /dev/stdin <<EOF | ||||
typedef struct info { | typedef struct info { | ||||
char *zi_gamename; | char *zi_gamename; | ||||
int zi_ndungeons; | int zi_ndungeons; | ||||
char *zi_villain; | char *zi_villain; | ||||
int zi_haszelda; | int zi_haszelda; | ||||
} info_t; | } info_t; | ||||
pid$pid::has_princess:entry | pid$pid::has_princess:entry | ||||
Show All 34 Lines |