summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-xtestsuite/semko/eleven.stp12
-rwxr-xr-xtestsuite/semko/thirty.stp2
-rwxr-xr-xtestsuite/semko/thirtyone.stp2
-rwxr-xr-xtestsuite/semko/twenty.stp2
-rwxr-xr-xtestsuite/semko/twentyfive.stp2
-rwxr-xr-xtestsuite/semko/twentyfour.stp2
-rwxr-xr-xtestsuite/semko/twentynine.stp4
-rwxr-xr-xtestsuite/semko/twentyseven.stp2
-rwxr-xr-xtestsuite/semko/twentysix.stp2
9 files changed, 15 insertions, 15 deletions
diff --git a/testsuite/semko/eleven.stp b/testsuite/semko/eleven.stp
index 34dfa225..f76c2df9 100755
--- a/testsuite/semko/eleven.stp
+++ b/testsuite/semko/eleven.stp
@@ -1,15 +1,15 @@
-#! stap -p2
+#! stap -up2
global arr,rra
-
+global s,n
probe begin {
arr[0]="value"
rra["key"]=0
}
probe end {
# confirm that typechecking works the same way for all array indexing
- if (k in arr) { k.""; arr[k]+0 }
- foreach (l in arr) { l.""; arr[l]+0 }
- if (m in rra) { m+1; rra[m]."" }
- foreach (n in rra) { n+0; rra[n]."" }
+ if (k in arr) { s=k.""; i=arr[k]+0 }
+ foreach (l in arr) { s=l.""; i=arr[l]+0 }
+ if (m in rra) { i=m+1; s=rra[m]."" }
+ foreach (n in rra) { i=n+0; s=rra[n]."" }
}
diff --git a/testsuite/semko/thirty.stp b/testsuite/semko/thirty.stp
index b145f826..57278af0 100755
--- a/testsuite/semko/thirty.stp
+++ b/testsuite/semko/thirty.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
diff --git a/testsuite/semko/thirtyone.stp b/testsuite/semko/thirtyone.stp
index 0462d4d5..dcb4fa7e 100755
--- a/testsuite/semko/thirtyone.stp
+++ b/testsuite/semko/thirtyone.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
diff --git a/testsuite/semko/twenty.stp b/testsuite/semko/twenty.stp
index 899efdc1..df12fa36 100755
--- a/testsuite/semko/twenty.stp
+++ b/testsuite/semko/twenty.stp
@@ -3,5 +3,5 @@
function a:string () { }
probe begin {
- a() + 1
+ print (a() + 1)
}
diff --git a/testsuite/semko/twentyfive.stp b/testsuite/semko/twentyfive.stp
index 8758bb67..5eb3b570 100755
--- a/testsuite/semko/twentyfive.stp
+++ b/testsuite/semko/twentyfive.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
diff --git a/testsuite/semko/twentyfour.stp b/testsuite/semko/twentyfour.stp
index ae75bf31..da6979bb 100755
--- a/testsuite/semko/twentyfour.stp
+++ b/testsuite/semko/twentyfour.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
diff --git a/testsuite/semko/twentynine.stp b/testsuite/semko/twentynine.stp
index b26e9872..19c66225 100755
--- a/testsuite/semko/twentynine.stp
+++ b/testsuite/semko/twentynine.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
@@ -6,6 +6,6 @@ global x
probe end
{
- x <<< 10 <<< 11
+ x <<< 10 <<< 11 # but see PR 1922
}
diff --git a/testsuite/semko/twentyseven.stp b/testsuite/semko/twentyseven.stp
index 6c5bd4f9..287ebebf 100755
--- a/testsuite/semko/twentyseven.stp
+++ b/testsuite/semko/twentyseven.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation
diff --git a/testsuite/semko/twentysix.stp b/testsuite/semko/twentysix.stp
index 9ebffa4a..dd4bce51 100755
--- a/testsuite/semko/twentysix.stp
+++ b/testsuite/semko/twentysix.stp
@@ -1,4 +1,4 @@
-#! stap -p2
+#! stap -up2
# need one of these for each prohibited statistic operation