summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/twenty.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/twenty.stp')
-rwxr-xr-xtestsuite/buildok/twenty.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/buildok/twenty.stp b/testsuite/buildok/twenty.stp
index aa6287c4..e7db8227 100755
--- a/testsuite/buildok/twenty.stp
+++ b/testsuite/buildok/twenty.stp
@@ -4,5 +4,9 @@
probe kernel.function("vfs_readdir")
{
+%( kernel_v >= "2.6.20" %?
+ $file->f_path->dentry->d_name->len = 1
+%:
$file->f_dentry->d_name->len = 1
+%)
}