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

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

77}
78EOF
79
80cc -c -xO2 test.c
81if [ $? -ne 0 ]; then
82 print -u2 "failed to compile test.c"
83 exit 1
84fi
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

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

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

--- 20 unchanged lines hidden ---
86if [ $? -ne 0 ]; then
87 print -u2 "failed to create DOF"
88 exit 1
89fi
90cc -o test test.o prov.o
91if [ $? -ne 0 ]; then
92 print -u2 "failed to link final executable"
93 exit 1

--- 20 unchanged lines hidden ---