summaryrefslogtreecommitdiffstats
path: root/testsuite/semko
diff options
context:
space:
mode:
authordsmith <dsmith>2007-09-17 20:43:57 +0000
committerdsmith <dsmith>2007-09-17 20:43:57 +0000
commitcb43bd6a6a9283306523283b4c933238f0186129 (patch)
tree665088444af890c68270c4565a0db9b364201066 /testsuite/semko
parent9cb48751fd8110c2874791101e99f9757f4620e7 (diff)
downloadsystemtap-steved-cb43bd6a6a9283306523283b4c933238f0186129.tar.gz
systemtap-steved-cb43bd6a6a9283306523283b4c933238f0186129.tar.xz
systemtap-steved-cb43bd6a6a9283306523283b4c933238f0186129.zip
2007-09-17 David Smith <dsmith@redhat.com>
* semko/procfs06.stp: New test case. * semko/procfs07.stp: Ditto. * semko/procfs08.stp: Ditto. * semko/procfs09.stp: Ditto. * semko/procfs10.stp: Ditto.
Diffstat (limited to 'testsuite/semko')
-rwxr-xr-xtestsuite/semko/procfs06.stp5
-rwxr-xr-xtestsuite/semko/procfs07.stp5
-rwxr-xr-xtestsuite/semko/procfs08.stp5
-rwxr-xr-xtestsuite/semko/procfs09.stp5
-rwxr-xr-xtestsuite/semko/procfs10.stp5
5 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/semko/procfs06.stp b/testsuite/semko/procfs06.stp
new file mode 100755
index 00000000..a0548d74
--- /dev/null
+++ b/testsuite/semko/procfs06.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+# path can't start with '/'
+probe procfs("/foo").read { }
+
diff --git a/testsuite/semko/procfs07.stp b/testsuite/semko/procfs07.stp
new file mode 100755
index 00000000..82f7ca6f
--- /dev/null
+++ b/testsuite/semko/procfs07.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+# path can't end with '/'
+probe procfs("foo/").read { }
+
diff --git a/testsuite/semko/procfs08.stp b/testsuite/semko/procfs08.stp
new file mode 100755
index 00000000..a56d927e
--- /dev/null
+++ b/testsuite/semko/procfs08.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+# path can't be a relative path
+probe procfs("foo/../bar").read { }
+
diff --git a/testsuite/semko/procfs09.stp b/testsuite/semko/procfs09.stp
new file mode 100755
index 00000000..2299dae9
--- /dev/null
+++ b/testsuite/semko/procfs09.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+# path can't be a relative path
+probe procfs("foo/.").read { }
+
diff --git a/testsuite/semko/procfs10.stp b/testsuite/semko/procfs10.stp
new file mode 100755
index 00000000..ef272eb4
--- /dev/null
+++ b/testsuite/semko/procfs10.stp
@@ -0,0 +1,5 @@
+#! stap -p2
+
+# path can't contain an empty component
+probe procfs("a//c").read { }
+