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

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

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

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

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