summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/twenty.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/twenty.stp')
-rwxr-xr-xtestsuite/buildok/twenty.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/buildok/twenty.stp b/testsuite/buildok/twenty.stp
new file mode 100755
index 00000000..aa6287c4
--- /dev/null
+++ b/testsuite/buildok/twenty.stp
@@ -0,0 +1,8 @@
+#! stap -gp4
+
+# Test for writing to target variables, PR 1131
+
+probe kernel.function("vfs_readdir")
+{
+ $file->f_dentry->d_name->len = 1
+}