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

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

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

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

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