tst.static.ksh (211545) | tst.static.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 --- 54 unchanged lines hidden (view full) --- 63}; 64EOF 65 66cc -c test.c 67if [ $? -ne 0 ]; then 68 print -u2 "failed to compile test.c" 69 exit 1 70fi | 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 --- 54 unchanged lines hidden (view full) --- 63}; 64EOF 65 66cc -c test.c 67if [ $? -ne 0 ]; then 68 print -u2 "failed to compile test.c" 69 exit 1 70fi |
71$dtrace -G -32 -s prov.d test.o | 71$dtrace -G -s prov.d test.o |
72if [ $? -ne 0 ]; then 73 print -u2 "failed to create DOF" 74 exit 1 75fi 76cc -o test test.o prov.o 77if [ $? -ne 0 ]; then 78 print -u2 "failed to link final executable" 79 exit 1 --- 19 unchanged lines hidden --- | 72if [ $? -ne 0 ]; then 73 print -u2 "failed to create DOF" 74 exit 1 75fi 76cc -o test test.o prov.o 77if [ $? -ne 0 ]; then 78 print -u2 "failed to link final executable" 79 exit 1 --- 19 unchanged lines hidden --- |