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

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

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

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

61}
62EOF
63
64cc -c test.c
65if [ $? -ne 0 ]; then
66 print -u2 "failed to compile test.c"
67 exit 1
68fi
69$dtrace -G -32 -s prov.d test.o
69$dtrace -G -s prov.d test.o
70if [ $? -ne 0 ]; then
71 print -u2 "failed to create DOF"
72 exit 1
73fi
74cc -o test test.o prov.o
75if [ $? -ne 0 ]; then
76 print -u2 "failed to link final executable"
77 exit 1

--- 19 unchanged lines hidden ---
70if [ $? -ne 0 ]; then
71 print -u2 "failed to create DOF"
72 exit 1
73fi
74cc -o test test.o prov.o
75if [ $? -ne 0 ]; then
76 print -u2 "failed to link final executable"
77 exit 1

--- 19 unchanged lines hidden ---