Deleted Added
full compact
tst.eliminate.ksh (211545) tst.eliminate.ksh (288413)
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

--- 63 unchanged lines hidden (view full) ---

72}
73EOF
74
75cc -c test.c
76if [ $? -ne 0 ]; then
77 print -u2 "failed to compile test.c"
78 exit 1
79fi
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

--- 63 unchanged lines hidden (view full) ---

72}
73EOF
74
75cc -c test.c
76if [ $? -ne 0 ]; then
77 print -u2 "failed to compile test.c"
78 exit 1
79fi
80$dtrace -G -32 -s prov.d test.o
80$dtrace -G -s prov.d test.o
81if [ $? -ne 0 ]; then
82 print -u2 "failed to create DOF"
83 exit 1
84fi
85cc -o test test.o prov.o
86if [ $? -ne 0 ]; then
87 print -u2 "failed to link final executable"
88 exit 1

--- 18 unchanged lines hidden ---
81if [ $? -ne 0 ]; then
82 print -u2 "failed to create DOF"
83 exit 1
84fi
85cc -o test test.o prov.o
86if [ $? -ne 0 ]; then
87 print -u2 "failed to link final executable"
88 exit 1

--- 18 unchanged lines hidden ---