From 14a2c8f5465ada828a57912ae5ec5a83dccddaf7 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Thu, 19 Aug 2021 11:25:53 -0400 Subject: [PATCH] Run task_fd_lookup.exp with --compatible 4.0 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/systemtap.base/task_fd_lookup.exp b/testsuite/systemtap.base/task_fd_lookup.exp index 3bad8ae72..ac6723baa 100644 --- a/testsuite/systemtap.base/task_fd_lookup.exp +++ b/testsuite/systemtap.base/task_fd_lookup.exp @@ -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 -- 2.43.5