summaryrefslogtreecommitdiff
path: root/cmd/dtrace/test/tst/common/pid
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dtrace/test/tst/common/pid')
-rw-r--r--cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh5
-rw-r--r--cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh9
-rw-r--r--cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh7
-rw-r--r--cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh9
4 files changed, 17 insertions, 13 deletions
diff --git a/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh b/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh
index 692a7153031b8..892ff3e24df17 100644
--- a/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh
+++ b/cmd/dtrace/test/tst/common/pid/tst.provregex1.ksh
@@ -24,6 +24,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
# This test verifies that specifying a glob in a pid provider name
@@ -45,10 +46,10 @@ cat > Makefile <<EOF
all: main
main: main.o
- gcc -o main main.o
+ cc -o main main.o
main.o: main.c
- gcc -c main.c
+ cc -c main.c
EOF
cat > main.c <<EOF
diff --git a/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh b/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh
index 03b6003fed3cd..8d83bddd23199 100644
--- a/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh
+++ b/cmd/dtrace/test/tst/common/pid/tst.provregex2.ksh
@@ -24,6 +24,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
# This test verifies that probes will be picked up after a dlopen(3C)
@@ -45,16 +46,16 @@ cat > Makefile <<EOF
all: main altlib.so
main: main.o
- gcc -o main main.o
+ cc -o main main.o
main.o: main.c
- gcc -c main.c
+ cc -c main.c
altlib.so: altlib.o
- gcc -shared -o altlib.so altlib.o -lc
+ cc -z defs -G -o altlib.so altlib.o -lc
altlib.o: altlib.c
- gcc -c altlib.c
+ cc -c altlib.c
EOF
cat > altlib.c <<EOF
diff --git a/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh b/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh
index 4a74cb050a7a6..c9ac6b1dd6a86 100644
--- a/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh
+++ b/cmd/dtrace/test/tst/common/pid/tst.provregex3.ksh
@@ -24,6 +24,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
# This test verifies that a regex in the provider name will match
@@ -43,13 +44,13 @@ mkdir $DIR
cd $DIR
cat > Makefile <<EOF
-all: main
+ all: main
main: main.o prov.o
- gcc -o main main.o prov.o
+ cc -o main main.o prov.o
main.o: main.c prov.h
- gcc -c main.c
+ cc -c main.c
prov.h: prov.d
$dtrace -h -s prov.d
diff --git a/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh b/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh
index 8d326ad7c107f..278ec128131c1 100644
--- a/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh
+++ b/cmd/dtrace/test/tst/common/pid/tst.provregex4.ksh
@@ -24,6 +24,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# ident "%Z%%M% %I% %E% SMI"
#
# This test verifies that USDT probes will be picked up after a dlopen(3C)
@@ -46,10 +47,10 @@ cat > Makefile <<EOF
all: main altlib.so
main: main.o provmain.o
- gcc -o main main.o provmain.o
+ cc -o main main.o provmain.o
main.o: main.c prov.h
- gcc -c main.c
+ cc -c main.c
prov.h: prov.d
$dtrace -h -s prov.d
@@ -58,10 +59,10 @@ provmain.o: prov.d main.o
$dtrace -G -32 -o provmain.o -s prov.d main.o
altlib.so: altlib.o provalt.o
- gcc -shared -o altlib.so altlib.o provalt.o -lc
+ cc -z defs -G -o altlib.so altlib.o provalt.o -lc
altlib.o: altlib.c prov.h
- gcc -c altlib.c
+ cc -c altlib.c
provalt.o: prov.d altlib.o
$dtrace -G -32 -o provalt.o -s prov.d altlib.o