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

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

67};
68EOF
69
70cc -c test.c
71if [ $? -ne 0 ]; then
72 print -u2 "failed to compile test.c"
73 exit 1
74fi
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

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

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

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

--- 19 unchanged lines hidden ---