summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/cast.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semok/cast.stp')
-rwxr-xr-xtestsuite/semok/cast.stp3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/semok/cast.stp b/testsuite/semok/cast.stp
index 14401886..d3606a50 100755
--- a/testsuite/semok/cast.stp
+++ b/testsuite/semok/cast.stp
@@ -15,6 +15,9 @@ probe begin {
println(@cast(0, "task_struct", "kernel<linux/sched.h>")->tgid)
println(@cast(0, "timeval", "<sys/time.h>")->tv_sec)
+ // sometimes multiple headers are needed in tandem
+ println(@cast(0, "task_struct", "kernel<linux/sched.h><linux/fs_struct.h>")->fs->umask)
+
// make sure that bogus @casts can get optimized away
@cast(0, "task_struct")->no_such_field
@cast(0, "task_struct")->parent->no_such_field