diff options
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-x | testsuite/semko/procfs13.stp | 4 | ||||
-rwxr-xr-x | testsuite/semko/procfs14.stp | 4 | ||||
-rwxr-xr-x | testsuite/semko/procfs15.stp | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/semko/procfs13.stp b/testsuite/semko/procfs13.stp new file mode 100755 index 00000000..8b5b64f1 --- /dev/null +++ b/testsuite/semko/procfs13.stp @@ -0,0 +1,4 @@ +#! stap -p2 + +# no maxsize value +probe procfs.read.maxsize { $value = "foo" } diff --git a/testsuite/semko/procfs14.stp b/testsuite/semko/procfs14.stp new file mode 100755 index 00000000..7dd75284 --- /dev/null +++ b/testsuite/semko/procfs14.stp @@ -0,0 +1,4 @@ +#! stap -p2 + +# use -1 as a maxsize value +probe procfs.read.maxsize(-1) { $value = "foo" } diff --git a/testsuite/semko/procfs15.stp b/testsuite/semko/procfs15.stp new file mode 100755 index 00000000..06594c50 --- /dev/null +++ b/testsuite/semko/procfs15.stp @@ -0,0 +1,4 @@ +#! stap -p2 + +# use -1 as a maxsize value +probe procfs("foo").read.maxsize(-1) { $value = "foo" } |