summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuite/ChangeLog8
-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
6 files changed, 33 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog
index 6f743fca..65de1866 100644
--- a/testsuite/ChangeLog
+++ b/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2007-09-15 Wenji Huang <wenji.huang@oracle.com>
PR 4930
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 { }
+