diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/semko/twentyone.stp | 2 | ||||
-rwxr-xr-x | testsuite/semko/twentythree.stp | 3 | ||||
-rwxr-xr-x | testsuite/semko/twentytwo.stp | 2 | ||||
-rwxr-xr-x | testsuite/semok/nineteen.stp | 10 |
4 files changed, 15 insertions, 2 deletions
diff --git a/testsuite/semko/twentyone.stp b/testsuite/semko/twentyone.stp index 9137a88b..c01725e2 100755 --- a/testsuite/semko/twentyone.stp +++ b/testsuite/semko/twentyone.stp @@ -1,4 +1,4 @@ -#! stap -p4 +#! stap -p2 # tests that an inline function is *not* matched using # the function() pattern diff --git a/testsuite/semko/twentythree.stp b/testsuite/semko/twentythree.stp new file mode 100755 index 00000000..65b6b28f --- /dev/null +++ b/testsuite/semko/twentythree.stp @@ -0,0 +1,3 @@ +#! stap -p2 + +probe badalias.* = begin { } diff --git a/testsuite/semko/twentytwo.stp b/testsuite/semko/twentytwo.stp index cb67c896..3d2f6429 100755 --- a/testsuite/semko/twentytwo.stp +++ b/testsuite/semko/twentytwo.stp @@ -1,4 +1,4 @@ -#! stap -p4 +#! stap -p2 # tests that a non-inline function is *not* matched using # the inline() pattern diff --git a/testsuite/semok/nineteen.stp b/testsuite/semok/nineteen.stp new file mode 100755 index 00000000..dcd9fb7e --- /dev/null +++ b/testsuite/semok/nineteen.stp @@ -0,0 +1,10 @@ +#! stap -p2 + +probe foo.a = bar.a { "alias a" } +probe foo.b = bar.b { "alias b" } +probe bar.a = begin { "begin" } +probe bar.b = end { "end" } +probe baz = bar.* { "wild aliases" } # baz expands to multiple aliases +probe foo.* { "foo" } # refers to multiple aliases +probe bar.* { "bar" } # refers to multiple probes +probe baz { "baz" } |