]> sourceware.org Git - systemtap.git/commitdiff
Run task_fd_lookup.exp with --compatible 4.0
authorStan Cox <scox@redhat.com>
Thu, 19 Aug 2021 15:25:53 +0000 (11:25 -0400)
committerStan Cox <scox@redhat.com>
Thu, 19 Aug 2021 15:25:53 +0000 (11:25 -0400)
Running in --compatible 4.0 mode forces @cast(0, "mount")->mnt_parent
to focus on the kernel module.

testsuite/systemtap.base/task_fd_lookup.exp

index 3bad8ae72252c8459fa40aa9ecfed947f4848f96..ac6723baad881782ae130f19c63425c41826c88c 100644 (file)
@@ -28,8 +28,8 @@ if {[catch {exec mkdir -p ${full_tmpdir}} res]} {
     return
 }
 
-spawn stap $srcdir/$subdir/$test.stp -c "$exepath $full_tmpdir"
-verbose -log "stap $srcdir/$subdir/$test.stp -c \"$exepath $full_tmpdir\""
+spawn stap $srcdir/$subdir/$test.stp --compatible 4.0 -c "$exepath $full_tmpdir"
+verbose -log "stap $srcdir/$subdir/$test.stp --compatible 4.0 -c \"$exepath $full_tmpdir\""
 set found_root 0
 set found_tmpdir 0
 set found_pipe 0
This page took 0.028439 seconds and 5 git commands to generate.