summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/pmap_foreach.stp22
1 files changed, 0 insertions, 22 deletions
diff --git a/testsuite/buildok/pmap_foreach.stp b/testsuite/buildok/pmap_foreach.stp
deleted file mode 100755
index 8cc8decd..00000000
--- a/testsuite/buildok/pmap_foreach.stp
+++ /dev/null
@@ -1,22 +0,0 @@
-#! stap -p4
-
-global foo
-
-
-probe begin {
- for (i=0;i<10;i+=2) {
- foo[1] <<< i
- foo[2] <<< i*i
- foo[3] <<< i*i*i
- }
- foo[3] <<< 4*4*4
- exit()
-}
-
-probe end {
- for (i=1;i<4;i++)
- printf("count of foo[%d] = %d\n", i, @count(foo[i]))
-
- foreach (i in foo)
- printf("count of foo[%d] = %d\n", i, @count(foo[i]))
-}